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.0008281/0.0008281, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.0009787/0.0009787, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.9747/0.9747, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8076/0.8076, allocations: 154.6 MB / 414.8 MB, free: 492 kB / 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_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 8.31e-07/8.31e-07, allocations: 0.5469 kB / 480 MB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.917e-06/9.748e-06, allocations: 2.312 kB / 480 MB, free: 6.828 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004176/0.004186, allocations: 4.838 MB / 484.9 MB, free: 2.031 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.006847, allocations: 1.763 MB / 486.6 MB, free: 284 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.007114, allocations: 39.62 kB / 486.7 MB, free: 244 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.007546, allocations: 210.4 kB / 486.9 MB, free: 32 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006112/0.008157, allocations: 453.8 kB / 487.3 MB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.008764, allocations: 403.3 kB / 487.7 MB, free: 15.2 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004134/0.0129, allocations: 1.275 MB / 489 MB, free: 13.92 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.01354, allocations: 0.5754 MB / 489.6 MB, free: 13.34 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007229/0.01426, allocations: 0.6625 MB / 490.2 MB, free: 12.67 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.01474, allocations: 485 kB / 490.7 MB, free: 12.2 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.01481, allocations: 68.91 kB / 490.8 MB, free: 12.13 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.01501, allocations: 143.7 kB / 490.9 MB, free: 11.99 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.0152, allocations: 328.1 kB / 491.2 MB, free: 11.67 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.01541, allocations: 319.2 kB / 491.5 MB, free: 11.36 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.01596, allocations: 0.7396 MB / 492.3 MB, free: 10.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.01596, allocations: 0.625 kB / 492.3 MB, free: 10.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01596, allocations: 0 / 492.3 MB, free: 10.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.01597, allocations: 1.312 kB / 492.3 MB, free: 10.62 MB / 458.7 MB 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.0009231/0.0169, allocations: 1.034 MB / 493.3 MB, free: 9.562 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.01692, allocations: 16.86 kB / 493.3 MB, free: 9.547 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007886/0.01771, allocations: 265.1 kB / 493.6 MB, free: 9.289 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.01823, allocations: 0.5121 MB / 494.1 MB, free: 8.762 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.01826, allocations: 49.67 kB / 494.2 MB, free: 8.711 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.01832, allocations: 68.38 kB / 494.2 MB, free: 8.645 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.01898, allocations: 0.9562 MB / 495.2 MB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.019, allocations: 4.812 kB / 495.2 MB, free: 7.512 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.01904, allocations: 28.98 kB / 495.2 MB, free: 7.484 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.01916, allocations: 93.78 kB / 495.3 MB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.01947, allocations: 260.7 kB / 495.6 MB, free: 7.141 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.0219, allocations: 3.912 MB / 499.5 MB, free: 3.098 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.02229, allocations: 283.8 kB / 499.8 MB, free: 2.812 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.02242, allocations: 102.3 kB / 499.9 MB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.02244, allocations: 9.281 kB / 499.9 MB, free: 2.703 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.02247, allocations: 39.06 kB / 499.9 MB, free: 2.656 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 1.312e-06/0.02247, allocations: 0.8438 kB / 499.9 MB, free: 2.656 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.001405/0.02388, allocations: 0.8025 MB / 0.489 GB, free: 1.848 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.02391, allocations: 55.91 kB / 0.489 GB, free: 1.781 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.02421, allocations: 482.9 kB / 0.4895 GB, free: 1.301 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.02424, allocations: 42.3 kB / 0.4895 GB, free: 1.254 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.0244, allocations: 384.7 kB / 0.4899 GB, free: 0.875 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.02449, allocations: 175.6 kB / 0.4901 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.02461, allocations: 126.5 kB / 0.4902 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.02471, allocations: 370.7 kB / 0.4905 GB, free: 204 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.0248, allocations: 74.59 kB / 0.4906 GB, free: 132 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.02501, allocations: 298.7 kB / 0.4909 GB, free: 15.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.02536, allocations: 440.6 kB / 0.4913 GB, free: 15.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02536, allocations: 0 / 0.4913 GB, free: 15.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006063/0.02597, allocations: 0.5653 MB / 0.4919 GB, free: 14.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.02598, allocations: 8 kB / 0.4919 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.02599, allocations: 8 kB / 0.4919 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/0.0266, allocations: 294.6 kB / 0.4922 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.02683, allocations: 117.4 kB / 0.4923 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.02955, allocations: 5.314 MB / 0.4975 GB, free: 8.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.02974, allocations: 16 kB / 0.4975 GB, free: 8.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.02977, allocations: 28 kB / 0.4975 GB, free: 8.492 MB / 474.7 MB 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.000126/0.0299, allocations: 158.4 kB / 0.4976 GB, free: 8.328 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.02997, allocations: 60.61 kB / 0.4977 GB, free: 8.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.03047, allocations: 453 kB / 0.4981 GB, free: 7.797 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.03047, allocations: 4 kB / 0.4981 GB, free: 7.793 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.03047, allocations: 4.844 kB / 0.4981 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.03048, allocations: 7.922 kB / 0.4982 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.03138, allocations: 0.8809 MB / 0.499 GB, free: 6.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.03138, allocations: 4 kB / 0.499 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.03151, allocations: 55.12 kB / 0.4991 GB, free: 6.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/0.03207, allocations: 282 kB / 0.4993 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.03209, allocations: 4 kB / 0.4993 GB, free: 6.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.03501, allocations: 5.303 MB / 0.5045 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.03501, allocations: 4.5 kB / 0.5045 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.03557, allocations: 0.587 MB / 0.5051 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.03569, allocations: 88.75 kB / 0.5052 GB, free: 112 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.03573, allocations: 12 kB / 0.5052 GB, free: 100 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.03587, allocations: 12 kB / 0.5052 GB, free: 88 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.03598, allocations: 45.97 kB / 0.5053 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.036, allocations: 12 kB / 0.5053 GB, free: 32 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.03615, allocations: 208.4 kB / 0.5055 GB, free: 15.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03615, allocations: 1.031 kB / 0.5055 GB, free: 15.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004449/0.03659, allocations: 224 kB / 0.5057 GB, free: 15.61 MB / 490.7 MB 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 9.359e-05/0.03669, allocations: 100.7 kB / 0.5058 GB, free: 15.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007287/0.03742, allocations: 0.892 MB / 0.5066 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.03743, allocations: 8.5 kB / 0.5067 GB, free: 14.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.03793, allocations: 0.7144 MB / 0.5073 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.03837, allocations: 200.3 kB / 0.5075 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.03972, allocations: 1.282 MB / 0.5088 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.03987, allocations: 211.4 kB / 0.509 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.04006, allocations: 72.38 kB / 0.5091 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.04034, allocations: 213.2 kB / 0.5093 GB, free: 11.79 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.04034, allocations: 0.7188 kB / 0.5093 GB, free: 11.79 MB / 490.7 MB Notification: Performance of Templates: time 0.01329/0.05363, allocations: 12.07 MB / 0.5211 GB, free: 168 kB / 490.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.864690207876265]