Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 108.3 kB / 17.03 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 190.9 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7232/0.7232, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.89 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3916, allocations: 76.14 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00872/0.4004, allocations: 6.784 MB / 0.5642 GB, free: 32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005714/0.4062, allocations: 3.066 MB / 0.5672 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.4074, allocations: 30.81 kB / 0.5672 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.41, allocations: 0.9481 MB / 0.5681 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.4119, allocations: 0.5031 MB / 0.5686 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.4135, allocations: 449.6 kB / 0.5691 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.4156, allocations: 1.223 MB / 0.5703 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.4167, allocations: 0.6632 MB / 0.5709 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008198/0.4176, allocations: 469.3 kB / 0.5714 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007536/0.4183, allocations: 0.5271 MB / 0.5719 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.4185, allocations: 66.16 kB / 0.5719 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009029/0.4194, allocations: 382.2 kB / 0.5723 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.4197, allocations: 303.3 kB / 0.5726 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.4202, allocations: 457.4 kB / 0.573 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.422, allocations: 1.22 MB / 0.5742 GB, free: 26.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.422, allocations: 0 / 0.5742 GB, free: 26.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.422, allocations: 2.5 kB / 0.5742 GB, free: 26.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.422, allocations: 0 / 0.5742 GB, free: 26.71 MB / 446.1 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.002073/0.4241, allocations: 1.165 MB / 0.5754 GB, free: 25.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4241, allocations: 9.969 kB / 0.5754 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.4258, allocations: 244.6 kB / 0.5756 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.4269, allocations: 0.6057 MB / 0.5762 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.4269, allocations: 42.44 kB / 0.5762 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.427, allocations: 67.59 kB / 0.5763 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.4286, allocations: 1.085 MB / 0.5774 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.4286, allocations: 8 kB / 0.5774 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.299e-05/0.4287, allocations: 34.05 kB / 0.5774 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/0.4289, allocations: 85.34 kB / 0.5775 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.4301, allocations: 0.7499 MB / 0.5782 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005062/0.4352, allocations: 5.878 MB / 0.5839 GB, free: 19.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.4362, allocations: 0.5507 MB / 0.5845 GB, free: 19.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.4367, allocations: 328.1 kB / 0.5848 GB, free: 19.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.4368, allocations: 4.125 kB / 0.5848 GB, free: 19.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4368, allocations: 47.53 kB / 0.5848 GB, free: 19.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/0.4368, allocations: 4 kB / 0.5849 GB, free: 19.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003917/0.4407, allocations: 1.984 MB / 0.5868 GB, free: 18.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.4408, allocations: 57.39 kB / 0.5868 GB, free: 18.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.4415, allocations: 0.5604 MB / 0.5874 GB, free: 17.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.4416, allocations: 40.8 kB / 0.5874 GB, free: 17.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.4418, allocations: 418.1 kB / 0.5878 GB, free: 17.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.442, allocations: 172.1 kB / 0.588 GB, free: 17.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.4422, allocations: 124.5 kB / 0.5881 GB, free: 17.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4423, allocations: 380.4 kB / 0.5885 GB, free: 16.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.4427, allocations: 274.7 kB / 0.5887 GB, free: 16.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.4432, allocations: 497.2 kB / 0.5892 GB, free: 16.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009348/0.4442, allocations: 0.8063 MB / 0.59 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4442, allocations: 2.562 kB / 0.59 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001706/0.4459, allocations: 1.087 MB / 0.5911 GB, free: 15.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.4459, allocations: 11.36 kB / 0.5911 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.446, allocations: 7.219 kB / 0.5911 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008368/0.4468, allocations: 285.4 kB / 0.5914 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.4473, allocations: 124.8 kB / 0.5915 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.4527, allocations: 7.135 MB / 0.5984 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.4536, allocations: 37.66 kB / 0.5985 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.4536, allocations: 31.48 kB / 0.5985 GB, free: 8.23 MB / 446.1 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.0004116/0.454, allocations: 255 kB / 0.5987 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4542, allocations: 75.97 kB / 0.5988 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.4556, allocations: 0.8886 MB / 0.5997 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4556, allocations: 5.625 kB / 0.5997 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4556, allocations: 3.188 kB / 0.5997 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4556, allocations: 0 / 0.5997 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.4581, allocations: 1.73 MB / 0.6014 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4581, allocations: 0 / 0.6014 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.4584, allocations: 67.83 kB / 0.6015 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006368/0.459, allocations: 271.3 kB / 0.6017 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.4591, allocations: 11.98 kB / 0.6017 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005048/0.4641, allocations: 7.118 MB / 0.6087 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4641, allocations: 3.938 kB / 0.6087 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.4657, allocations: 0.9874 MB / 0.6096 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.4661, allocations: 192.2 kB / 0.6098 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.4662, allocations: 8 kB / 0.6098 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.4666, allocations: 35.91 kB / 0.6099 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.4667, allocations: 47.88 kB / 0.6099 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.4667, allocations: 16 kB / 0.6099 GB, free: 12.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004647/0.4672, allocations: 387.1 kB / 0.6103 GB, free: 12.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4672, allocations: 0 / 0.6103 GB, free: 12.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009094/0.4681, allocations: 220 kB / 0.6105 GB, free: 12.04 MB / 462.1 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 0.000183/0.4683, allocations: 119.3 kB / 0.6106 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.4704, allocations: 1.283 MB / 0.6119 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4704, allocations: 3.938 kB / 0.6119 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.4716, allocations: 0.8858 MB / 0.6127 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4727, allocations: 226 kB / 0.613 GB, free: 9.422 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.4749, allocations: 1.331 MB / 0.6143 GB, free: 8.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.4755, allocations: 1.016 MB / 0.6152 GB, free: 6.996 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.4759, allocations: 118 kB / 0.6154 GB, free: 6.879 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.476, allocations: 47.42 kB / 0.6154 GB, free: 6.836 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.476, allocations: 0 / 0.6154 GB, free: 6.836 MB / 462.1 MB Notification: Performance of Templates: time 0.01935/0.4954, allocations: 11.18 MB / 0.6263 GB, free: 11.82 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)