Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001331/0.001331, allocations: 78.56 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] 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.001408/0.001408, allocations: 170.7 kB / 22.46 MB, free: 5.367 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.389/1.389, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.188/1.188, allocations: 154.7 MB / 413.9 MB, free: 5.125 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6188 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.608e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007919/0.007945, allocations: 5.872 MB / 0.6245 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0056/0.01355, allocations: 3.102 MB / 0.6275 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.01414, allocations: 47.56 kB / 0.6276 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.01671, allocations: 0.933 MB / 0.6285 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.01803, allocations: 497.1 kB / 0.6289 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.01937, allocations: 0.5018 MB / 0.6294 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.02079, allocations: 1.104 MB / 0.6305 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008913/0.02168, allocations: 0.5061 MB / 0.631 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.02269, allocations: 0.6078 MB / 0.6316 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008039/0.02349, allocations: 426.8 kB / 0.632 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.02363, allocations: 56 kB / 0.6321 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009849/0.02462, allocations: 446.8 kB / 0.6325 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004094/0.02503, allocations: 303.1 kB / 0.6328 GB, free: 6.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.02546, allocations: 271.3 kB / 0.633 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.02724, allocations: 1.215 MB / 0.6342 GB, free: 4.609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.02725, allocations: 0 / 0.6342 GB, free: 4.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.02725, allocations: 0 / 0.6342 GB, free: 4.609 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.165e-05/0.0273, allocations: 0 / 0.6342 GB, free: 4.609 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002221/0.02952, allocations: 1.006 MB / 0.6352 GB, free: 3.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.02957, allocations: 12.03 kB / 0.6352 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.03119, allocations: 236.1 kB / 0.6354 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.03225, allocations: 0.5237 MB / 0.636 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.0323, allocations: 45.67 kB / 0.636 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.03244, allocations: 68.3 kB / 0.6361 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.03413, allocations: 1.134 MB / 0.6372 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.03416, allocations: 4.125 kB / 0.6372 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.03424, allocations: 36.36 kB / 0.6372 GB, free: 1.359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.03434, allocations: 69.2 kB / 0.6373 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.0356, allocations: 0.6918 MB / 0.638 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00512/0.04072, allocations: 4.39 MB / 0.6422 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.04155, allocations: 417.6 kB / 0.6426 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/0.04234, allocations: 396.5 kB / 0.643 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.04238, allocations: 4 kB / 0.643 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.04242, allocations: 34.56 kB / 0.6431 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.04243, allocations: 4 kB / 0.6431 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004386/0.04681, allocations: 1.699 MB / 0.6447 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.04686, allocations: 59.41 kB / 0.6448 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.04736, allocations: 441.8 kB / 0.6452 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.0474, allocations: 29.7 kB / 0.6452 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.0477, allocations: 404 kB / 0.6456 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.04785, allocations: 154.7 kB / 0.6458 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.04805, allocations: 114.2 kB / 0.6459 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.04823, allocations: 366.7 kB / 0.6462 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.04863, allocations: 241.1 kB / 0.6464 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.04917, allocations: 457 kB / 0.6469 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.0502, allocations: 0.7494 MB / 0.6476 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.05021, allocations: 0 / 0.6476 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001956/0.05216, allocations: 1.035 MB / 0.6486 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.05218, allocations: 11.94 kB / 0.6486 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.0522, allocations: 8 kB / 0.6486 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.05327, allocations: 311.6 kB / 0.6489 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.0536, allocations: 95.83 kB / 0.649 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/0.06131, allocations: 6.93 MB / 0.6558 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.06174, allocations: 32.03 kB / 0.6558 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.0618, allocations: 24 kB / 0.6558 GB, free: 13.38 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003795/0.06218, allocations: 252.6 kB / 0.6561 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.06231, allocations: 59.62 kB / 0.6561 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.06408, allocations: 0.8805 MB / 0.657 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.06409, allocations: 4 kB / 0.657 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.0641, allocations: 4 kB / 0.657 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.0641, allocations: 0 / 0.657 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.06689, allocations: 1.499 MB / 0.6585 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.0669, allocations: 8.188 kB / 0.6585 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.06708, allocations: 43.91 kB / 0.6585 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000938/0.06802, allocations: 303.2 kB / 0.6588 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.06805, allocations: 8 kB / 0.6588 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007409/0.07546, allocations: 6.923 MB / 0.6656 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.07547, allocations: 8.031 kB / 0.6656 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.07721, allocations: 0.9642 MB / 0.6665 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.07746, allocations: 95.58 kB / 0.6666 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.07753, allocations: 11.98 kB / 0.6666 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.0778, allocations: 19.98 kB / 0.6667 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.07792, allocations: 47.86 kB / 0.6667 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.07794, allocations: 15.94 kB / 0.6667 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003651/0.07831, allocations: 290.9 kB / 0.667 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.07831, allocations: 0 / 0.667 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008277/0.07914, allocations: 192 kB / 0.6672 GB, free: 1.219 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (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.0001625/0.0793, allocations: 103.2 kB / 0.6673 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002029/0.08133, allocations: 1.164 MB / 0.6684 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.08133, allocations: 4 kB / 0.6684 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.08262, allocations: 0.8269 MB / 0.6692 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.0836, allocations: 203.8 kB / 0.6694 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.08576, allocations: 1.225 MB / 0.6706 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.08622, allocations: 394.9 kB / 0.671 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002853/0.08651, allocations: 97.02 kB / 0.6711 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.08658, allocations: 40.44 kB / 0.6711 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.08658, allocations: 4 kB / 0.6711 GB, free: 13 MB / 0.5919 GB Notification: Performance of Templates: time 0.01956/0.1061, allocations: 10.35 MB / 0.6812 GB, free: 2.887 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9581622667610645] Failed to read output from testmodel.py, exit status != 0: 0.11530770547688007 0.130080464 0.099738163 Calling exit ...