Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001066/0.001066, allocations: 105 kB / 16.35 MB, free: 5.824 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.001132/0.001132, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 287.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9138/0.9138, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 89.52 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1617, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007589/0.1693, allocations: 6.795 MB / 0.6882 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2538/0.4231, allocations: 3.057 MB / 0.6912 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.4235, allocations: 27.28 kB / 0.6913 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.4257, allocations: 0.9546 MB / 0.6922 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.4268, allocations: 0.4982 MB / 0.6927 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.4279, allocations: 448 kB / 0.6931 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.429, allocations: 1.229 MB / 0.6943 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008292/0.4299, allocations: 0.6548 MB / 0.6949 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.4304, allocations: 477 kB / 0.6954 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006273/0.431, allocations: 0.5177 MB / 0.6959 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.4312, allocations: 67.12 kB / 0.696 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006911/0.4319, allocations: 378.8 kB / 0.6963 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.4322, allocations: 315.6 kB / 0.6966 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004419/0.4326, allocations: 453.7 kB / 0.6971 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.4339, allocations: 1.222 MB / 0.6983 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4339, allocations: 1 kB / 0.6983 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4339, allocations: 0 / 0.6983 GB, free: 10.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.434, allocations: 0 / 0.6983 GB, free: 10.88 MB / 494.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.001768/0.4357, allocations: 1.167 MB / 0.6994 GB, free: 10.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4358, allocations: 9.562 kB / 0.6994 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.4373, allocations: 240.4 kB / 0.6996 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009911/0.4383, allocations: 0.6018 MB / 0.7002 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/0.4384, allocations: 55.72 kB / 0.7003 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.4385, allocations: 62.91 kB / 0.7003 GB, free: 9.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.44, allocations: 1.078 MB / 0.7014 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.4401, allocations: 18.55 kB / 0.7014 GB, free: 9.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.4402, allocations: 28.56 kB / 0.7014 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.4403, allocations: 84.88 kB / 0.7015 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.4415, allocations: 0.7528 MB / 0.7022 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.4457, allocations: 5.876 MB / 0.708 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.4468, allocations: 0.5523 MB / 0.7085 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.4473, allocations: 323.8 kB / 0.7088 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.4473, allocations: 6.281 kB / 0.7088 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.4474, allocations: 37.47 kB / 0.7089 GB, free: 3.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.4474, allocations: 0.875 kB / 0.7089 GB, free: 3.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=48): time 0.003976/0.4514, allocations: 1.991 MB / 0.7108 GB, free: 2.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.4514, allocations: 57.66 kB / 0.7109 GB, free: 2.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000761/0.4522, allocations: 0.5637 MB / 0.7114 GB, free: 1.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.4522, allocations: 36.61 kB / 0.7115 GB, free: 1.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.4525, allocations: 418.3 kB / 0.7119 GB, free: 1.605 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.4526, allocations: 171 kB / 0.712 GB, free: 1.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.4528, allocations: 129.3 kB / 0.7121 GB, free: 1.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4529, allocations: 379.6 kB / 0.7125 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.4534, allocations: 274.6 kB / 0.7128 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.454, allocations: 498.4 kB / 0.7132 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.4552, allocations: 0.812 MB / 0.714 GB, free: 56 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4552, allocations: 2.688 kB / 0.714 GB, free: 56 kB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002051/0.4572, allocations: 1.092 MB / 0.7151 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.4573, allocations: 14.44 kB / 0.7151 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4573, allocations: 7.75 kB / 0.7151 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000913/0.4582, allocations: 275.9 kB / 0.7154 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.4587, allocations: 128.1 kB / 0.7155 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007135/0.4659, allocations: 7.133 MB / 0.7225 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000804/0.4667, allocations: 41.06 kB / 0.7225 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.4668, allocations: 27.16 kB / 0.7225 GB, free: 9.305 MB / 0.4981 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 (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.0005165/0.4673, allocations: 248.2 kB / 0.7228 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.4674, allocations: 81.27 kB / 0.7229 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.4692, allocations: 0.8879 MB / 0.7237 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4692, allocations: 9.875 kB / 0.7237 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4692, allocations: 2.844 kB / 0.7237 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4692, allocations: 8.062 kB / 0.7237 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.4723, allocations: 1.729 MB / 0.7254 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4723, allocations: 1.531 kB / 0.7254 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.4725, allocations: 59.95 kB / 0.7255 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007083/0.4733, allocations: 271.8 kB / 0.7258 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.4733, allocations: 8.594 kB / 0.7258 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00568/0.479, allocations: 7.124 MB / 0.7327 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.479, allocations: 1.25 kB / 0.7327 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.4804, allocations: 0.9882 MB / 0.7337 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.4808, allocations: 189.2 kB / 0.7339 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-05/0.4809, allocations: 15.42 kB / 0.7339 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.4812, allocations: 37.41 kB / 0.7339 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.4813, allocations: 34.83 kB / 0.7339 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.4814, allocations: 15.66 kB / 0.734 GB, free: 468 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004312/0.4818, allocations: 395.3 kB / 0.7343 GB, free: 228 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4818, allocations: 1.25 kB / 0.7343 GB, free: 228 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008438/0.4827, allocations: 224.1 kB / 0.7346 GB, free: 204 kB / 0.4981 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 (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.0001343/0.4828, allocations: 117.9 kB / 0.7347 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.4847, allocations: 1.275 MB / 0.7359 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4847, allocations: 4.062 kB / 0.7359 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.4858, allocations: 0.8847 MB / 0.7368 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.4868, allocations: 222.8 kB / 0.737 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4888, allocations: 1.34 MB / 0.7383 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.4894, allocations: 1.011 MB / 0.7393 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003547/0.4898, allocations: 124.1 kB / 0.7394 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4899, allocations: 45.75 kB / 0.7394 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4899, allocations: 1.156 kB / 0.7394 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.01747/0.5074, allocations: 11.2 MB / 0.7504 GB, free: 5.918 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)