Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001017/0.001017, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001148/0.001148, allocations: 177.3 kB / 23.36 MB, free: 1.137 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 0.968/0.968, allocations: 177.1 MB / 203.8 MB, free: 5.441 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.7819/0.7819, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.527e-05, allocations: 4.922 kB / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01229/0.01232, allocations: 10.34 MB / 490.3 MB, free: 12.62 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008446/0.02076, allocations: 6.966 MB / 497.3 MB, free: 5.688 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007244/0.02149, allocations: 79.31 kB / 497.4 MB, free: 5.609 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.02233, allocations: 388.9 kB / 497.8 MB, free: 5.227 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003192/0.02552, allocations: 1.724 MB / 499.5 MB, free: 3.512 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.02652, allocations: 0.6718 MB / 0.4884 GB, free: 2.844 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002903/0.02943, allocations: 2.844 MB / 0.4912 GB, free: 15.99 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.03088, allocations: 1.255 MB / 0.4924 GB, free: 14.69 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.033, allocations: 2.099 MB / 0.4945 GB, free: 12.59 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008681/0.03387, allocations: 0.9597 MB / 0.4954 GB, free: 11.64 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.03402, allocations: 156 kB / 0.4956 GB, free: 11.48 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.03444, allocations: 319.6 kB / 0.4959 GB, free: 11.17 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.0348, allocations: 0.6425 MB / 0.4965 GB, free: 10.53 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.03527, allocations: 0.6429 MB / 0.4971 GB, free: 9.883 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.03661, allocations: 1.541 MB / 0.4986 GB, free: 8.336 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.03661, allocations: 0.7812 kB / 0.4986 GB, free: 8.336 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.03661, allocations: 0 / 0.4986 GB, free: 8.336 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.03663, allocations: 0.6562 kB / 0.4986 GB, free: 8.336 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002406/0.03904, allocations: 1.997 MB / 0.5006 GB, free: 6.312 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.03907, allocations: 13.38 kB / 0.5006 GB, free: 6.301 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004427/0.0435, allocations: 0.8678 MB / 0.5014 GB, free: 5.438 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.04497, allocations: 1.054 MB / 0.5025 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.04503, allocations: 90.67 kB / 0.5026 GB, free: 4.258 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.04524, allocations: 120.3 kB / 0.5027 GB, free: 4.141 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.04728, allocations: 1.614 MB / 0.5043 GB, free: 2.332 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.04731, allocations: 10.22 kB / 0.5043 GB, free: 2.324 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.04745, allocations: 55.97 kB / 0.5043 GB, free: 2.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003682/0.04782, allocations: 146.2 kB / 0.5045 GB, free: 2.125 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.04884, allocations: 0.5671 MB / 0.505 GB, free: 1.555 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00677/0.05561, allocations: 5.729 MB / 0.5106 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.05678, allocations: 0.5831 MB / 0.5112 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.05719, allocations: 256.4 kB / 0.5114 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.05724, allocations: 13 kB / 0.5114 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.05727, allocations: 47.56 kB / 0.5115 GB, free: 10.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.334e-06/0.05727, allocations: 0 / 0.5115 GB, free: 10.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01102/0.06829, allocations: 3.903 MB / 0.5153 GB, free: 7.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.06832, allocations: 65.56 kB / 0.5154 GB, free: 6.941 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000716/0.06904, allocations: 0.9028 MB / 0.5162 GB, free: 6.031 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/0.06912, allocations: 37.7 kB / 0.5163 GB, free: 5.988 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.06941, allocations: 0.59 MB / 0.5168 GB, free: 5.391 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.06965, allocations: 325.1 kB / 0.5172 GB, free: 5.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.06997, allocations: 190.7 kB / 0.5173 GB, free: 4.875 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.07007, allocations: 346.4 kB / 0.5177 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.07041, allocations: 189.1 kB / 0.5178 GB, free: 4.352 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.07088, allocations: 447.6 kB / 0.5183 GB, free: 3.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/0.07177, allocations: 0.7107 MB / 0.519 GB, free: 3.027 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.07177, allocations: 4 kB / 0.519 GB, free: 3.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002567/0.07434, allocations: 1.269 MB / 0.5202 GB, free: 1.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003341/0.07768, allocations: 8 kB / 0.5202 GB, free: 1.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.0777, allocations: 4 kB / 0.5202 GB, free: 1.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.08046, allocations: 0.8691 MB / 0.5211 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.08111, allocations: 159.7 kB / 0.5212 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.09924, allocations: 6.934 MB / 0.528 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009107/0.1002, allocations: 55.97 kB / 0.528 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.1003, allocations: 40 kB / 0.5281 GB, free: 9.297 MB / 0.4948 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 (73): * Single equations (assignments): 69 * 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,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004308/0.1007, allocations: 176.3 kB / 0.5283 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.101, allocations: 119.9 kB / 0.5284 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.1041, allocations: 1.249 MB / 0.5296 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.1041, allocations: 11.94 kB / 0.5296 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.1041, allocations: 8 kB / 0.5296 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.1041, allocations: 3.984 kB / 0.5296 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/0.1086, allocations: 1.981 MB / 0.5315 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1086, allocations: 0 / 0.5315 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.1092, allocations: 104 kB / 0.5316 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003273/0.1125, allocations: 0.8328 MB / 0.5325 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.895e-05/0.1126, allocations: 31.95 kB / 0.5325 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007769/0.1203, allocations: 6.938 MB / 0.5393 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1203, allocations: 3.984 kB / 0.5393 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.1224, allocations: 1.266 MB / 0.5405 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.1227, allocations: 242.9 kB / 0.5407 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.1229, allocations: 17.97 kB / 0.5408 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.1233, allocations: 47.97 kB / 0.5408 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.1235, allocations: 88.77 kB / 0.5409 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.1235, allocations: 27.97 kB / 0.5409 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003322/0.1239, allocations: 459.6 kB / 0.5413 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.1239, allocations: 0 / 0.5413 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000982/0.1248, allocations: 495.9 kB / 0.5418 GB, free: 10.68 MB / 0.5105 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 (37): * Single equations (assignments): 33 * 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.125, allocations: 108.8 kB / 0.5419 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.1269, allocations: 1.465 MB / 0.5434 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/0.127, allocations: 18.31 kB / 0.5434 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.128, allocations: 1.125 MB / 0.5445 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.1291, allocations: 0.5097 MB / 0.545 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.132, allocations: 2.505 MB / 0.5474 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.1323, allocations: 407.9 kB / 0.5478 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006596/0.133, allocations: 283.6 kB / 0.5481 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/0.1337, allocations: 395 kB / 0.5485 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.1337, allocations: 0 / 0.5485 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.03621/0.1699, allocations: 35.45 MB / 0.5831 GB, free: 1.012 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.151915911119431]