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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 198.3 kB / 299.8 MB, free: 9.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04136/0.04136, allocations: 8.927 MB / 363.6 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 91.58 kB / 486.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1321, allocations: 54.41 MB / 0.5278 GB, free: 1.219 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.008571/0.1407, allocations: 3.993 MB / 0.5317 GB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.1449, allocations: 1.592 MB / 0.5333 GB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.1453, allocations: 12 kB / 0.5333 GB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.1478, allocations: 0.7661 MB / 0.534 GB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.1493, allocations: 0.5384 MB / 0.5345 GB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1505, allocations: 493.3 kB / 0.535 GB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008284/0.1513, allocations: 0.5409 MB / 0.5355 GB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007184/0.152, allocations: 400.1 kB / 0.5359 GB, free: 8.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.1524, allocations: 243.1 kB / 0.5361 GB, free: 8.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.1528, allocations: 302.8 kB / 0.5364 GB, free: 8.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.037e-05/0.1529, allocations: 56 kB / 0.5365 GB, free: 8.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.1535, allocations: 223.8 kB / 0.5367 GB, free: 8.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1536, allocations: 123.6 kB / 0.5368 GB, free: 7.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.1539, allocations: 274.6 kB / 0.5371 GB, free: 7.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.155, allocations: 0.8101 MB / 0.5379 GB, free: 6.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.155, allocations: 0 / 0.5379 GB, free: 6.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.155, allocations: 0 / 0.5379 GB, free: 6.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.155, allocations: 0 / 0.5379 GB, free: 6.855 MB / 350.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.002209/0.1572, allocations: 0.951 MB / 0.5388 GB, free: 5.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1573, allocations: 15.97 kB / 0.5388 GB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.1574, allocations: 112 kB / 0.5389 GB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.1602, allocations: 404.2 kB / 0.5393 GB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.1609, allocations: 359.7 kB / 0.5397 GB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.161, allocations: 53.38 kB / 0.5397 GB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.1611, allocations: 67.94 kB / 0.5398 GB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.1623, allocations: 0.6315 MB / 0.5404 GB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1623, allocations: 0 / 0.5404 GB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.1624, allocations: 24 kB / 0.5404 GB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.1624, allocations: 16 kB / 0.5404 GB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.1636, allocations: 0.5829 MB / 0.541 GB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003506/0.1671, allocations: 2.177 MB / 0.5431 GB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.1687, allocations: 1.143 MB / 0.5442 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.1691, allocations: 168.8 kB / 0.5444 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.1692, allocations: 93.03 kB / 0.5445 GB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.1693, allocations: 38.56 kB / 0.5445 GB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.535e-06/0.1693, allocations: 0 / 0.5445 GB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001733/0.171, allocations: 0.6825 MB / 0.5452 GB, free: 14.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1711, allocations: 59.34 kB / 0.5452 GB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.1714, allocations: 270.6 kB / 0.5455 GB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.1714, allocations: 33.7 kB / 0.5455 GB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1716, allocations: 261.2 kB / 0.5458 GB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1718, allocations: 158.6 kB / 0.5459 GB, free: 14.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.1719, allocations: 86.25 kB / 0.546 GB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1721, allocations: 342.8 kB / 0.5463 GB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.1724, allocations: 155 kB / 0.5465 GB, free: 13.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.1729, allocations: 257.9 kB / 0.5467 GB, free: 13.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/0.1737, allocations: 433.7 kB / 0.5472 GB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1737, allocations: 0 / 0.5472 GB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001119/0.1748, allocations: 0.5294 MB / 0.5477 GB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1748, allocations: 8 kB / 0.5477 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1748, allocations: 0 / 0.5477 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.1751, allocations: 65.17 kB / 0.5477 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.1755, allocations: 95.89 kB / 0.5478 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.1774, allocations: 1.763 MB / 0.5496 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.1778, allocations: 63.55 kB / 0.5496 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.1778, allocations: 20 kB / 0.5496 GB, free: 10.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004777/0.1783, allocations: 277.2 kB / 0.5499 GB, free: 9.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004181/0.1787, allocations: 245.6 kB / 0.5501 GB, free: 9.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007639/0.1795, allocations: 427.6 kB / 0.5505 GB, free: 9.016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.1795, allocations: 0 / 0.5505 GB, free: 9.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001056/0.1805, allocations: 0.5129 MB / 0.551 GB, free: 8.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1805, allocations: 4 kB / 0.551 GB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1805, allocations: 4.406 kB / 0.551 GB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.1807, allocations: 60.83 kB / 0.5511 GB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.1812, allocations: 91.89 kB / 0.5512 GB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.1829, allocations: 1.763 MB / 0.5529 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.1832, allocations: 47.66 kB / 0.553 GB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.1832, allocations: 20 kB / 0.553 GB, free: 6.363 MB / 366.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.0001989/0.1834, allocations: 204.4 kB / 0.5532 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.1835, allocations: 43.67 kB / 0.5532 GB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.1847, allocations: 0.4966 MB / 0.5537 GB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1847, allocations: 4 kB / 0.5537 GB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1847, allocations: 7.938 kB / 0.5537 GB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1847, allocations: 0 / 0.5537 GB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.1865, allocations: 1.084 MB / 0.5548 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1865, allocations: 3.938 kB / 0.5548 GB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.1869, allocations: 83.83 kB / 0.5549 GB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.1871, allocations: 44.83 kB / 0.5549 GB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.1871, allocations: 19.92 kB / 0.5549 GB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.1889, allocations: 1.763 MB / 0.5566 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1889, allocations: 0 / 0.5566 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.1904, allocations: 0.7502 MB / 0.5574 GB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.1906, allocations: 152.7 kB / 0.5575 GB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.1907, allocations: 8 kB / 0.5575 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.1909, allocations: 19.98 kB / 0.5575 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.191, allocations: 32.39 kB / 0.5576 GB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.1911, allocations: 12 kB / 0.5576 GB, free: 1.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002562/0.1913, allocations: 194 kB / 0.5578 GB, free: 1.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1913, allocations: 4.062 kB / 0.5578 GB, free: 1.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009766/0.1923, allocations: 239.4 kB / 0.558 GB, free: 0.9648 MB / 366.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.002013/0.1943, allocations: 1.328 MB / 0.5593 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.1961, allocations: 0.8402 MB / 0.5601 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1961, allocations: 0 / 0.5601 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006378/0.1968, allocations: 317.1 kB / 0.5604 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.1973, allocations: 51.7 kB / 0.5605 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006283/0.2036, allocations: 3.789 MB / 0.5642 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.2041, allocations: 0.8288 MB / 0.565 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003257/0.2044, allocations: 71.23 kB / 0.565 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.2047, allocations: 167.4 kB / 0.5652 GB, free: 9.328 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2047, allocations: 7.938 kB / 0.5652 GB, free: 9.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.043/0.2477, allocations: 8.784 MB / 0.5738 GB, free: 0.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.51, allocations: 15.27 kB / 0.5738 GB, free: 0.6562 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.fmu > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.40676488308236] Failed to read output from testmodel.py, exit status != 0: 10.799202306661755 10.612918156 10.454988623 Calling exit ...