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.000931/0.000931, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001115/0.001115, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.9415/0.9415, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7651/0.7651, allocations: 154.6 MB / 415.6 MB, free: 0.5586 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 179] 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.463e-06/1.463e-06, allocations: 0 / 0.5215 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.411e-05, allocations: 5.484 kB / 0.5215 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00416/0.004184, allocations: 4.113 MB / 0.5255 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.006417, allocations: 1.553 MB / 0.5271 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.00677, allocations: 47.56 kB / 0.5271 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.007336, allocations: 192.1 kB / 0.5273 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.007967, allocations: 413 kB / 0.5277 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.00855, allocations: 383.1 kB / 0.528 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.009787, allocations: 1.143 MB / 0.5292 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006209/0.01041, allocations: 0.51 MB / 0.5297 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006756/0.01108, allocations: 0.6157 MB / 0.5303 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.01156, allocations: 444 kB / 0.5307 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.01163, allocations: 56.69 kB / 0.5307 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.01185, allocations: 143.7 kB / 0.5309 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.01204, allocations: 303.8 kB / 0.5312 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.01224, allocations: 271.3 kB / 0.5314 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006175/0.01286, allocations: 0.667 MB / 0.5321 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01286, allocations: 0 / 0.5321 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.51e-07/0.01286, allocations: 0 / 0.5321 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.01287, allocations: 0 / 0.5321 GB, free: 7.121 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.000934/0.01381, allocations: 1.068 MB / 0.5331 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.01384, allocations: 8.031 kB / 0.5331 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.01458, allocations: 287.7 kB / 0.5334 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.01514, allocations: 0.5266 MB / 0.5339 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.01517, allocations: 49.67 kB / 0.534 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.01524, allocations: 72.25 kB / 0.534 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.01591, allocations: 0.8545 MB / 0.5349 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.01593, allocations: 8.109 kB / 0.5349 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.01597, allocations: 32.36 kB / 0.5349 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.537e-05/0.01603, allocations: 71.81 kB / 0.535 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.01634, allocations: 276.2 kB / 0.5352 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.01955, allocations: 5.513 MB / 0.5406 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.01992, allocations: 226.9 kB / 0.5408 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.02025, allocations: 225.9 kB / 0.541 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.02028, allocations: 8.688 kB / 0.5411 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.02031, allocations: 37.95 kB / 0.5411 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=41): time 3.035e-06/0.02031, allocations: 3.938 kB / 0.5411 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.001941/0.02225, allocations: 0.9661 MB / 0.542 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.0223, allocations: 55.41 kB / 0.5421 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.02258, allocations: 479.1 kB / 0.5425 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.02261, allocations: 33.7 kB / 0.5426 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/0.02306, allocations: 454.6 kB / 0.543 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.357e-05/0.02315, allocations: 159.2 kB / 0.5432 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.02326, allocations: 118.6 kB / 0.5433 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.0234, allocations: 0.5468 MB / 0.5438 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.02349, allocations: 77.25 kB / 0.5439 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.02372, allocations: 376.7 kB / 0.5442 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.0241, allocations: 0.5125 MB / 0.5447 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.0241, allocations: 4 kB / 0.5448 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008248/0.02493, allocations: 0.6634 MB / 0.5454 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.02495, allocations: 10.19 kB / 0.5454 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.02496, allocations: 8.75 kB / 0.5454 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/0.02551, allocations: 246 kB / 0.5457 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.02568, allocations: 92.58 kB / 0.5457 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.02982, allocations: 7.587 MB / 0.5531 GB, free: 332 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.03008, allocations: 16 kB / 0.5532 GB, free: 316 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.03011, allocations: 29.19 kB / 0.5532 GB, free: 288 kB / 0.5105 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.000194/0.0303, allocations: 190 kB / 0.5534 GB, free: 88 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.03037, allocations: 71.61 kB / 0.5534 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/0.03107, allocations: 0.5164 MB / 0.5539 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.03107, allocations: 6.75 kB / 0.554 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.03107, allocations: 4 kB / 0.554 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.03108, allocations: 3.984 kB / 0.554 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.03224, allocations: 1.005 MB / 0.5549 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.03224, allocations: 0 / 0.5549 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.03232, allocations: 27.98 kB / 0.555 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004975/0.03282, allocations: 247.3 kB / 0.5552 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.03283, allocations: 8 kB / 0.5552 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003929/0.03676, allocations: 7.559 MB / 0.5626 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03677, allocations: 0 / 0.5626 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/0.03754, allocations: 0.6869 MB / 0.5633 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.03768, allocations: 84.28 kB / 0.5633 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.03772, allocations: 15.98 kB / 0.5634 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.03784, allocations: 8.688 kB / 0.5634 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.03794, allocations: 43.86 kB / 0.5634 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.03796, allocations: 8.781 kB / 0.5634 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003748/0.03833, allocations: 286.7 kB / 0.5637 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.03833, allocations: 1.156 kB / 0.5637 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005878/0.03892, allocations: 200 kB / 0.5639 GB, free: 4.723 MB / 0.5261 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.0001383/0.03906, allocations: 113.1 kB / 0.564 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009171/0.03997, allocations: 1.113 MB / 0.5651 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.03998, allocations: 4 kB / 0.5651 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.04055, allocations: 0.9252 MB / 0.566 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.04114, allocations: 205.4 kB / 0.5662 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.04259, allocations: 1.169 MB / 0.5673 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.04274, allocations: 202.3 kB / 0.5675 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.0429, allocations: 68.56 kB / 0.5676 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.04312, allocations: 202.1 kB / 0.5678 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of SimCode: time 1.011e-06/0.04312, allocations: 0 / 0.5678 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of Templates: time 0.01382/0.05694, allocations: 11.28 MB / 0.5788 GB, free: 5.539 MB / 0.5417 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.793748407624662]