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.0009752/0.0009752, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00104/0.00104, allocations: 173 kB / 23.36 MB, free: 1.133 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.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8398/0.8398, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.343e-06/1.343e-06, allocations: 0 / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.4e-05, allocations: 2.969 kB / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.007904/0.007918, allocations: 10.38 MB / 490.4 MB, free: 12.55 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007691/0.01561, allocations: 6.969 MB / 497.4 MB, free: 5.609 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.01616, allocations: 88.81 kB / 497.5 MB, free: 5.523 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007478/0.01691, allocations: 388.9 kB / 497.9 MB, free: 5.141 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.01934, allocations: 1.683 MB / 499.5 MB, free: 3.469 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.02021, allocations: 0.6682 MB / 0.4885 GB, free: 2.805 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.02211, allocations: 2.852 MB / 0.4913 GB, free: 15.95 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.02313, allocations: 1.254 MB / 0.4925 GB, free: 14.65 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.02472, allocations: 2.096 MB / 0.4945 GB, free: 12.55 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009264/0.02564, allocations: 0.9573 MB / 0.4955 GB, free: 11.6 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.02579, allocations: 160 kB / 0.4956 GB, free: 11.44 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.02623, allocations: 325.4 kB / 0.4959 GB, free: 11.12 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.02661, allocations: 0.6464 MB / 0.4966 GB, free: 10.48 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.02706, allocations: 0.6391 MB / 0.4972 GB, free: 9.836 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.02819, allocations: 1.541 MB / 0.4987 GB, free: 8.289 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.02819, allocations: 0 / 0.4987 GB, free: 8.289 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.02819, allocations: 2.062 kB / 0.4987 GB, free: 8.289 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.02821, allocations: 0 / 0.4987 GB, free: 8.289 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.001803/0.03001, allocations: 1.997 MB / 0.5007 GB, free: 6.266 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.03004, allocations: 12.03 kB / 0.5007 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.03327, allocations: 0.8678 MB / 0.5015 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.03432, allocations: 1.056 MB / 0.5025 GB, free: 4.297 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.03437, allocations: 86.69 kB / 0.5026 GB, free: 4.211 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.03453, allocations: 126.7 kB / 0.5028 GB, free: 4.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.03609, allocations: 1.609 MB / 0.5043 GB, free: 2.289 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.03612, allocations: 11.88 kB / 0.5043 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.03622, allocations: 47.98 kB / 0.5044 GB, free: 2.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/0.0365, allocations: 158.2 kB / 0.5045 GB, free: 2.074 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007711/0.03727, allocations: 0.5677 MB / 0.5051 GB, free: 1.504 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.04235, allocations: 5.725 MB / 0.5107 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/0.04328, allocations: 0.587 MB / 0.5113 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.04359, allocations: 251.7 kB / 0.5115 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/0.04364, allocations: 17 kB / 0.5115 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.04367, allocations: 43.56 kB / 0.5115 GB, free: 10.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.164e-06/0.04367, allocations: 0 / 0.5115 GB, free: 10.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.00841/0.05208, allocations: 3.897 MB / 0.5154 GB, free: 6.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.05211, allocations: 64.34 kB / 0.5154 GB, free: 6.902 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.05269, allocations: 0.9067 MB / 0.5163 GB, free: 5.988 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.05275, allocations: 42.27 kB / 0.5163 GB, free: 5.941 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.05301, allocations: 0.578 MB / 0.5169 GB, free: 5.355 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.0532, allocations: 325.1 kB / 0.5172 GB, free: 5.035 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.05344, allocations: 195.7 kB / 0.5174 GB, free: 4.836 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.05353, allocations: 345.9 kB / 0.5177 GB, free: 4.492 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.05379, allocations: 196.7 kB / 0.5179 GB, free: 4.305 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.05417, allocations: 439.8 kB / 0.5183 GB, free: 3.781 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.05487, allocations: 0.7082 MB / 0.519 GB, free: 2.992 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.05488, allocations: 7.938 kB / 0.519 GB, free: 2.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001929/0.0568, allocations: 1.263 MB / 0.5203 GB, free: 1.703 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.05682, allocations: 8 kB / 0.5203 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.05683, allocations: 8 kB / 0.5203 GB, free: 1.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.0589, allocations: 0.8562 MB / 0.5211 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.05943, allocations: 191.6 kB / 0.5213 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005641/0.06508, allocations: 6.984 MB / 0.5281 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.06562, allocations: 55.97 kB / 0.5282 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/0.06569, allocations: 35.97 kB / 0.5282 GB, free: 9.18 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.0003044/0.06599, allocations: 176.5 kB / 0.5284 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.06616, allocations: 119.9 kB / 0.5285 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.06811, allocations: 1.245 MB / 0.5297 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.06811, allocations: 11.94 kB / 0.5297 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.06812, allocations: 12 kB / 0.5297 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.06813, allocations: 7.922 kB / 0.5297 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.07096, allocations: 1.98 MB / 0.5317 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.07096, allocations: 0 / 0.5317 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.07138, allocations: 115.8 kB / 0.5318 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/0.07341, allocations: 0.8456 MB / 0.5326 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.07347, allocations: 23.97 kB / 0.5326 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/0.07895, allocations: 6.98 MB / 0.5395 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.07895, allocations: 7.938 kB / 0.5395 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.08081, allocations: 1.266 MB / 0.5407 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.08112, allocations: 248.2 kB / 0.5409 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.08123, allocations: 16 kB / 0.5409 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.08166, allocations: 43.98 kB / 0.541 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.08185, allocations: 92.7 kB / 0.5411 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.08191, allocations: 27.95 kB / 0.5411 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003528/0.08226, allocations: 459.7 kB / 0.5415 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.08226, allocations: 0 / 0.5415 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001042/0.0833, allocations: 487.9 kB / 0.542 GB, free: 10.5 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.0002233/0.08352, allocations: 120.3 kB / 0.5421 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.08522, allocations: 1.459 MB / 0.5435 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/0.08524, allocations: 16.5 kB / 0.5436 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.08632, allocations: 1.131 MB / 0.5447 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.08739, allocations: 0.5064 MB / 0.5452 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.09016, allocations: 2.512 MB / 0.5476 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.09043, allocations: 395.9 kB / 0.548 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006252/0.09106, allocations: 287.9 kB / 0.5483 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000726/0.09178, allocations: 399 kB / 0.5486 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/0.09178, allocations: 0 / 0.5486 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of Templates: time 0.03463/0.1264, allocations: 35.45 MB / 0.5833 GB, free: 0.8203 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4145238026976585]