Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.002273/0.002273, allocations: 89.48 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.00263/0.00263, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.539 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.308/1.308, allocations: 154.6 MB / 414.1 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0.9844 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.637e-05, allocations: 8.766 kB / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01463/0.01466, allocations: 5.569 MB / 0.5251 GB, free: 12.95 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.009218/0.02388, allocations: 2.7 MB / 0.5277 GB, free: 10.25 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006352/0.02452, allocations: 35.69 kB / 0.5277 GB, free: 10.22 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.02799, allocations: 0.6869 MB / 0.5284 GB, free: 9.531 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.03004, allocations: 448.7 kB / 0.5288 GB, free: 9.094 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.032, allocations: 413.4 kB / 0.5292 GB, free: 8.691 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.002389/0.03439, allocations: 1 MB / 0.5302 GB, free: 7.691 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009678/0.03536, allocations: 378.5 kB / 0.5306 GB, free: 7.316 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.0368, allocations: 0.5182 MB / 0.5311 GB, free: 6.797 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.03785, allocations: 367 kB / 0.5314 GB, free: 6.438 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.038, allocations: 50.75 kB / 0.5315 GB, free: 6.391 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.03922, allocations: 335 kB / 0.5318 GB, free: 6.062 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.03972, allocations: 267.2 kB / 0.532 GB, free: 5.801 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0005298/0.04025, allocations: 239.4 kB / 0.5323 GB, free: 5.566 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.04237, allocations: 1.005 MB / 0.5332 GB, free: 4.559 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.04238, allocations: 0 / 0.5332 GB, free: 4.559 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.673e-06/0.04238, allocations: 0 / 0.5332 GB, free: 4.559 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.04239, allocations: 0 / 0.5332 GB, free: 4.559 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003096/0.04549, allocations: 1.066 MB / 0.5343 GB, free: 3.457 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/0.04555, allocations: 8.969 kB / 0.5343 GB, free: 3.449 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.04856, allocations: 280.6 kB / 0.5346 GB, free: 3.176 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.05034, allocations: 498.6 kB / 0.535 GB, free: 2.672 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.05043, allocations: 41.36 kB / 0.5351 GB, free: 2.629 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.0507, allocations: 56.55 kB / 0.5351 GB, free: 2.574 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.05285, allocations: 0.8403 MB / 0.536 GB, free: 1.594 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-05/0.05289, allocations: 8.125 kB / 0.536 GB, free: 1.586 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.705e-05/0.05299, allocations: 24.12 kB / 0.536 GB, free: 1.562 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003515/0.05334, allocations: 68.94 kB / 0.536 GB, free: 1.496 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.0546, allocations: 315.5 kB / 0.5363 GB, free: 1.188 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009135/0.06374, allocations: 4.57 MB / 0.5408 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006775/0.06441, allocations: 155.8 kB / 0.541 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.0648, allocations: 104.2 kB / 0.5411 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/0.06485, allocations: 8.219 kB / 0.5411 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/0.06491, allocations: 41.67 kB / 0.5411 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.436e-06/0.06492, allocations: 3.562 kB / 0.5411 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.008309/0.07323, allocations: 1.656 MB / 0.5427 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.07331, allocations: 60.03 kB / 0.5428 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.07443, allocations: 0.5304 MB / 0.5433 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.653e-05/0.0745, allocations: 29.7 kB / 0.5433 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005663/0.07507, allocations: 419.6 kB / 0.5437 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.07534, allocations: 160.2 kB / 0.5439 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.0757, allocations: 123.9 kB / 0.544 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005373/0.07624, allocations: 0.5586 MB / 0.5445 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.07672, allocations: 125.2 kB / 0.5447 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008713/0.07759, allocations: 384.4 kB / 0.545 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.07901, allocations: 0.5364 MB / 0.5456 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.07901, allocations: 4 kB / 0.5456 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002898/0.08191, allocations: 0.6902 MB / 0.5462 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.08194, allocations: 8.5 kB / 0.5462 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.08196, allocations: 4 kB / 0.5462 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/0.08403, allocations: 243.1 kB / 0.5465 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/0.08503, allocations: 121.9 kB / 0.5466 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.09518, allocations: 5.806 MB / 0.5523 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008479/0.09603, allocations: 31.97 kB / 0.5523 GB, free: 4 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.09615, allocations: 26.73 kB / 0.5523 GB, free: 15.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0004837/0.09663, allocations: 208.5 kB / 0.5525 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.09686, allocations: 67.67 kB / 0.5526 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.09933, allocations: 0.5338 MB / 0.5531 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.09934, allocations: 9.5 kB / 0.5531 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.09934, allocations: 0 / 0.5531 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.09936, allocations: 3.984 kB / 0.5531 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.1039, allocations: 1.189 MB / 0.5543 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.1039, allocations: 8.5 kB / 0.5543 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/0.1046, allocations: 69.25 kB / 0.5544 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.1065, allocations: 234.3 kB / 0.5546 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.385e-05/0.1066, allocations: 11.98 kB / 0.5546 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009033/0.1156, allocations: 5.785 MB / 0.5602 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1156, allocations: 0 / 0.5602 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.118, allocations: 0.8218 MB / 0.561 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.1183, allocations: 84.88 kB / 0.5611 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.1185, allocations: 15.94 kB / 0.5611 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.1189, allocations: 27.95 kB / 0.5612 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.119, allocations: 36.66 kB / 0.5612 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002805/0.1193, allocations: 12 kB / 0.5612 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004371/0.1197, allocations: 341 kB / 0.5615 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1197, allocations: 0 / 0.5615 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007266/0.1205, allocations: 176 kB / 0.5617 GB, free: 5.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001931/0.1207, allocations: 112.7 kB / 0.5618 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.1225, allocations: 0.9655 MB / 0.5628 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.1225, allocations: 4 kB / 0.5628 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.1236, allocations: 0.764 MB / 0.5635 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.1246, allocations: 176.9 kB / 0.5637 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.1268, allocations: 1.173 MB / 0.5648 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.1273, allocations: 333.2 kB / 0.5651 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003097/0.1276, allocations: 96.8 kB / 0.5652 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1277, allocations: 40.5 kB / 0.5653 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of SimCode: time 2.355e-06/0.1277, allocations: 0 / 0.5653 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of Templates: time 0.01939/0.1471, allocations: 9.185 MB / 0.5742 GB, free: 9.117 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3495186059735715]