Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 253.4 MB, free: 14.47 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 211.8 kB / 310 MB, free: 3.086 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04029/0.04029, allocations: 8.91 MB / 375.3 MB, free: 6.754 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002567/0.002567, allocations: 87.88 kB / 0.4904 GB, free: 44.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1119, allocations: 55.61 MB / 0.5447 GB, free: 4.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.006186/0.1181, allocations: 4.05 MB / 0.5487 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003555/0.1216, allocations: 1.674 MB / 0.5503 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.122, allocations: 12 kB / 0.5503 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.124, allocations: 0.7645 MB / 0.5511 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.1251, allocations: 386 kB / 0.5514 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1266, allocations: 0.6153 MB / 0.552 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008684/0.1275, allocations: 0.5526 MB / 0.5526 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008091/0.1283, allocations: 460.2 kB / 0.553 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.1288, allocations: 255 kB / 0.5533 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.1292, allocations: 294.8 kB / 0.5535 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.1292, allocations: 56 kB / 0.5536 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006154/0.1299, allocations: 231.8 kB / 0.5538 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.13, allocations: 131.5 kB / 0.5539 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.1303, allocations: 266.7 kB / 0.5542 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1315, allocations: 0.8211 MB / 0.555 GB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1315, allocations: 0 / 0.555 GB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1315, allocations: 0 / 0.555 GB, free: 10.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.1315, allocations: 4 kB / 0.555 GB, free: 10.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002243/0.1338, allocations: 0.8795 MB / 0.5559 GB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1338, allocations: 11.98 kB / 0.5559 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.1365, allocations: 396.2 kB / 0.5563 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.1372, allocations: 296.9 kB / 0.5565 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.1373, allocations: 49.67 kB / 0.5566 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1374, allocations: 63.94 kB / 0.5566 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.1386, allocations: 0.6276 MB / 0.5573 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.1386, allocations: 4 kB / 0.5573 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.1387, allocations: 24 kB / 0.5573 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.1387, allocations: 16 kB / 0.5573 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1399, allocations: 0.5751 MB / 0.5579 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.1434, allocations: 2.018 MB / 0.5598 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.1447, allocations: 486.1 kB / 0.5603 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.1451, allocations: 168.7 kB / 0.5605 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-05/0.1452, allocations: 28.28 kB / 0.5605 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1452, allocations: 34.56 kB / 0.5605 GB, free: 4.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.826e-06/0.1452, allocations: 4 kB / 0.5605 GB, free: 4.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001718/0.147, allocations: 0.6044 MB / 0.5611 GB, free: 3.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.147, allocations: 63.39 kB / 0.5612 GB, free: 3.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.1474, allocations: 265.9 kB / 0.5614 GB, free: 3.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.1474, allocations: 33.7 kB / 0.5615 GB, free: 3.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.1476, allocations: 252.9 kB / 0.5617 GB, free: 3.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.1478, allocations: 158.7 kB / 0.5619 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1479, allocations: 86.17 kB / 0.5619 GB, free: 2.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1481, allocations: 338.8 kB / 0.5623 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.1485, allocations: 158.8 kB / 0.5624 GB, free: 2.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.1489, allocations: 261.3 kB / 0.5627 GB, free: 1.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008151/0.1498, allocations: 433.7 kB / 0.5631 GB, free: 1.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1498, allocations: 0 / 0.5631 GB, free: 1.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001109/0.1509, allocations: 0.526 MB / 0.5636 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1509, allocations: 4 kB / 0.5636 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1509, allocations: 7.938 kB / 0.5636 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.1512, allocations: 56.83 kB / 0.5637 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.1516, allocations: 99.88 kB / 0.5637 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2878/0.4395, allocations: 1.65 MB / 0.5654 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.4399, allocations: 62.02 kB / 0.5654 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.4399, allocations: 25.44 kB / 0.5654 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004329/0.4404, allocations: 264.3 kB / 0.5657 GB, free: 23.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003234/0.4407, allocations: 248.9 kB / 0.5659 GB, free: 23.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005818/0.4413, allocations: 425.4 kB / 0.5663 GB, free: 23.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.4413, allocations: 3.594 kB / 0.5663 GB, free: 23.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008781/0.4421, allocations: 0.5118 MB / 0.5668 GB, free: 23.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4422, allocations: 8.812 kB / 0.5668 GB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4422, allocations: 4.969 kB / 0.5669 GB, free: 23.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.4423, allocations: 57.73 kB / 0.5669 GB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.4427, allocations: 93.34 kB / 0.567 GB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.4438, allocations: 1.667 MB / 0.5686 GB, free: 22.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.4441, allocations: 43.88 kB / 0.5687 GB, free: 22.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.4441, allocations: 18.53 kB / 0.5687 GB, free: 22.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.4443, allocations: 208.9 kB / 0.5689 GB, free: 22.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.4443, allocations: 34.58 kB / 0.5689 GB, free: 22.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009825/0.4453, allocations: 0.4984 MB / 0.5694 GB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4453, allocations: 12.62 kB / 0.5694 GB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4453, allocations: 1.594 kB / 0.5694 GB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4453, allocations: 3.516 kB / 0.5694 GB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.4468, allocations: 1.06 MB / 0.5705 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4468, allocations: 0 / 0.5705 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.4471, allocations: 79.59 kB / 0.5705 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/0.4473, allocations: 51.77 kB / 0.5706 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.4473, allocations: 13.25 kB / 0.5706 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.4484, allocations: 1.653 MB / 0.5722 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4484, allocations: 0.5625 kB / 0.5722 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.4496, allocations: 0.7454 MB / 0.5729 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.4498, allocations: 80.28 kB / 0.573 GB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.4498, allocations: 9.219 kB / 0.573 GB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.4501, allocations: 25.81 kB / 0.573 GB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.4501, allocations: 34.42 kB / 0.5731 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.4502, allocations: 14.97 kB / 0.5731 GB, free: 20.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.4503, allocations: 191.2 kB / 0.5733 GB, free: 20.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4503, allocations: 0 / 0.5733 GB, free: 20.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009046/0.4513, allocations: 242.8 kB / 0.5735 GB, free: 20.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000237/0.4515, allocations: 137.9 kB / 0.5736 GB, free: 19.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.4531, allocations: 0.8463 MB / 0.5745 GB, free: 19.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4531, allocations: 0 / 0.5745 GB, free: 19.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.4536, allocations: 330.6 kB / 0.5748 GB, free: 19.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.454, allocations: 45.19 kB / 0.5748 GB, free: 19.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4555, allocations: 0.8871 MB / 0.5757 GB, free: 19.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.4558, allocations: 0.8253 MB / 0.5765 GB, free: 18.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.456, allocations: 44.03 kB / 0.5765 GB, free: 18.31 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.456, allocations: 0 / 0.5765 GB, free: 18.31 MB / 382.1 MB Notification: Performance of Templates: time 0.01385/0.4698, allocations: 7.499 MB / 0.5839 GB, free: 17.44 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe >> ../files/HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.sim & ./HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.323940043104813] Failed to read output from testmodel.py, exit status != 0: 0.47780150594189763 0.49144822099999996 0.35709775699999996 Calling exit ...