Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001839/0.001839, allocations: 89.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002058/0.002058, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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-545:108: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-545:116: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.431/1.431, allocations: 154.6 MB / 414.2 MB, free: 0.6328 MB / 378.7 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.552e-05, allocations: 7.422 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01053/0.01056, allocations: 6.848 MB / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006039/0.0166, allocations: 3.135 MB / 0.5294 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.01711, allocations: 39.62 kB / 0.5294 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.01995, allocations: 0.9769 MB / 0.5304 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.02141, allocations: 0.5369 MB / 0.5309 GB, free: 7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.02284, allocations: 449.4 kB / 0.5313 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.02457, allocations: 1.271 MB / 0.5326 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009178/0.02549, allocations: 0.5345 MB / 0.5331 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009996/0.02649, allocations: 0.6585 MB / 0.5337 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007933/0.02728, allocations: 487.3 kB / 0.5342 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.02742, allocations: 68 kB / 0.5343 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.02813, allocations: 354.5 kB / 0.5346 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.0285, allocations: 331.1 kB / 0.5349 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.02891, allocations: 315.2 kB / 0.5352 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.03053, allocations: 1.254 MB / 0.5364 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.03053, allocations: 0 / 0.5364 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.482e-06/0.03053, allocations: 0 / 0.5364 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.03055, allocations: 0 / 0.5364 GB, free: 1.312 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0021/0.03265, allocations: 1.268 MB / 0.5377 GB, free: 8 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.03268, allocations: 8.75 kB / 0.5377 GB, free: 0 / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.03433, allocations: 341.2 kB / 0.538 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.03571, allocations: 0.57 MB / 0.5386 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.03576, allocations: 45.67 kB / 0.5386 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.03589, allocations: 77.08 kB / 0.5387 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.03751, allocations: 1.15 MB / 0.5398 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.03754, allocations: 8.781 kB / 0.5398 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.03761, allocations: 32.36 kB / 0.5398 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.03779, allocations: 89.84 kB / 0.5399 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008879/0.03867, allocations: 422.6 kB / 0.5403 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006498/0.04517, allocations: 5.894 MB / 0.5461 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008089/0.04598, allocations: 314.4 kB / 0.5464 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.0463, allocations: 154.7 kB / 0.5465 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.04635, allocations: 8.5 kB / 0.5465 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.04638, allocations: 41.89 kB / 0.5466 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 1.873e-06/0.04639, allocations: 1.938 kB / 0.5466 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.003367/0.04975, allocations: 1.154 MB / 0.5477 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.0498, allocations: 61.19 kB / 0.5478 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/0.05055, allocations: 0.6351 MB / 0.5484 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.0506, allocations: 33.7 kB / 0.5484 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.051, allocations: 499 kB / 0.5489 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.05119, allocations: 182.5 kB / 0.5491 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.05143, allocations: 150.4 kB / 0.5492 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003312/0.05176, allocations: 0.5626 MB / 0.5498 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.05206, allocations: 141.9 kB / 0.5499 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.05267, allocations: 472.6 kB / 0.5503 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009767/0.05365, allocations: 0.6506 MB / 0.551 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.05365, allocations: 0 / 0.551 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001703/0.05536, allocations: 0.8216 MB / 0.5518 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.05538, allocations: 9.156 kB / 0.5518 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.05539, allocations: 8 kB / 0.5518 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.05708, allocations: 331.5 kB / 0.5521 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.05759, allocations: 123.8 kB / 0.5522 GB, free: 312 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008061/0.06565, allocations: 7.778 MB / 0.5598 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.06623, allocations: 45.3 kB / 0.5599 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.06628, allocations: 32.11 kB / 0.5599 GB, free: 7.969 MB / 0.5261 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.0666, allocations: 221.5 kB / 0.5601 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.06675, allocations: 82.91 kB / 0.5602 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.0682, allocations: 0.5923 MB / 0.5608 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.06821, allocations: 8 kB / 0.5608 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.06822, allocations: 4 kB / 0.5608 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.06823, allocations: 3.984 kB / 0.5608 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.07078, allocations: 1.319 MB / 0.5621 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.07078, allocations: 4 kB / 0.5621 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.07109, allocations: 64.06 kB / 0.5621 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.07245, allocations: 314.2 kB / 0.5624 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.07249, allocations: 11.98 kB / 0.5625 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007918/0.08041, allocations: 7.785 MB / 0.5701 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.08041, allocations: 0 / 0.5701 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.08194, allocations: 0.7852 MB / 0.5708 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/0.08226, allocations: 103.5 kB / 0.5709 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.08234, allocations: 12.86 kB / 0.5709 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.0827, allocations: 27.97 kB / 0.571 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.08283, allocations: 47.86 kB / 0.571 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.08286, allocations: 13.41 kB / 0.571 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004941/0.08336, allocations: 410.8 kB / 0.5714 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.1e-08/0.08336, allocations: 0 / 0.5714 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008215/0.08418, allocations: 220.7 kB / 0.5716 GB, free: 11.32 MB / 0.5417 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001716/0.08435, allocations: 115.2 kB / 0.5717 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.08674, allocations: 1.255 MB / 0.573 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.08674, allocations: 4 kB / 0.573 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.0882, allocations: 1.004 MB / 0.5739 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.08922, allocations: 205.8 kB / 0.5741 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.09159, allocations: 1.291 MB / 0.5754 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.09209, allocations: 399.8 kB / 0.5758 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003284/0.09242, allocations: 98.31 kB / 0.5759 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.09253, allocations: 40.5 kB / 0.5759 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of SimCode: time 7.82e-07/0.09253, allocations: 0 / 0.5759 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of Templates: time 0.0238/0.1163, allocations: 11.44 MB / 0.5871 GB, free: 11.58 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.45633626205381]