Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 107.2 kB / 16.41 MB, free: 6.477 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.001245/0.001244, allocations: 183 kB / 17.34 MB, free: 5.754 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.338/1.338, 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.002182/0.002182, allocations: 284.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9883/0.9883, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.439, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0381/0.4771, allocations: 34.83 MB / 0.8011 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.4964, allocations: 11.5 MB / 0.8123 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003196/0.4997, allocations: 163.2 kB / 0.8125 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.5105, allocations: 4.247 MB / 0.8166 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006159/0.5167, allocations: 1.99 MB / 0.8185 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006411/0.5231, allocations: 2.411 MB / 0.8209 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01066/0.5338, allocations: 8.463 MB / 0.8292 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0168/0.5506, allocations: 11.12 MB / 0.84 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007185/0.5579, allocations: 3.794 MB / 0.8437 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007396/0.5653, allocations: 4.187 MB / 0.8478 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002579/0.5679, allocations: 0.7773 MB / 0.8486 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.5735, allocations: 2.032 MB / 0.8506 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005244/0.5788, allocations: 3.053 MB / 0.8535 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01035/0.5892, allocations: 3.408 MB / 0.8569 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.017/0.6062, allocations: 11.98 MB / 0.8686 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.6062, allocations: 0 / 0.8686 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6063, allocations: 0 / 0.8686 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003802/0.6066, allocations: 0 / 0.8686 GB, free: 11.6 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01603/0.6227, allocations: 5.81 MB / 0.8742 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6228, allocations: 12.03 kB / 0.8743 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007048/0.6298, allocations: 1.052 MB / 0.8753 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006846/0.6367, allocations: 3.453 MB / 0.8787 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/0.6371, allocations: 419.5 kB / 0.8791 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.6391, allocations: 0.5354 MB / 0.8796 GB, free: 192 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/0.6593, allocations: 9.083 MB / 0.8884 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/0.6596, allocations: 31.67 kB / 0.8885 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001448/0.661, allocations: 236 kB / 0.8887 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003936/0.6615, allocations: 350.8 kB / 0.889 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.6756, allocations: 6.826 MB / 0.8957 GB, free: 15.34 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04359/0.7193, allocations: 39.79 MB / 0.9346 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/0.7232, allocations: 3.104 MB / 0.9376 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002739/0.7259, allocations: 1.986 MB / 0.9395 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.7261, allocations: 22 kB / 0.9395 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.7261, allocations: 52.56 kB / 0.9396 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 3.777e-06/0.7261, allocations: 0 / 0.9396 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02476/0.7509, allocations: 9.989 MB / 0.9494 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.751, allocations: 73.41 kB / 0.9494 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/0.7533, allocations: 1.522 MB / 0.9509 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.7535, allocations: 53.7 kB / 0.951 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.7549, allocations: 2.253 MB / 0.9532 GB, free: 456 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/0.7555, allocations: 0.6317 MB / 0.9538 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005922/0.7561, allocations: 411.9 kB / 0.9542 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.7562, allocations: 305.1 kB / 0.9545 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.7578, allocations: 1.176 MB / 0.9556 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.7598, allocations: 1.889 MB / 0.9575 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003977/0.7638, allocations: 3.367 MB / 0.9607 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-05/0.7639, allocations: 11.94 kB / 0.9608 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007628/0.7715, allocations: 4.581 MB / 0.9652 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.7716, allocations: 19.94 kB / 0.9652 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.7716, allocations: 20 kB / 0.9653 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003879/0.7755, allocations: 1.583 MB / 0.9668 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.7769, allocations: 355.3 kB / 0.9672 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4231/1.2, allocations: 18.58 MB / 0.9853 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.202, allocations: 116.2 kB / 0.9854 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/1.202, allocations: 96.95 kB / 0.9855 GB, free: 172.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002563/1.205, allocations: 1.895 MB / 0.9873 GB, free: 171.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/1.205, allocations: 226.6 kB / 0.9876 GB, free: 171.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00596/1.211, allocations: 4.091 MB / 0.9916 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.211, allocations: 18.12 kB / 0.9916 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-05/1.211, allocations: 14.44 kB / 0.9916 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.211, allocations: 13.88 kB / 0.9916 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/1.224, allocations: 9.456 MB / 1.001 GB, free: 165.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.224, allocations: 4.375 kB / 1.001 GB, free: 165.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007707/1.224, allocations: 188.8 kB / 1.001 GB, free: 165.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002902/1.227, allocations: 1.358 MB / 1.002 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.227, allocations: 36 kB / 1.002 GB, free: 165 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/1.243, allocations: 17.35 MB / 1.019 GB, free: 147.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.243, allocations: 8 kB / 1.019 GB, free: 147.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/1.249, allocations: 4.068 MB / 1.023 GB, free: 143.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009128/1.25, allocations: 0.5284 MB / 1.024 GB, free: 142.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/1.25, allocations: 36 kB / 1.024 GB, free: 142.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008994/1.251, allocations: 83.89 kB / 1.024 GB, free: 142.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004427/1.251, allocations: 169.7 kB / 1.024 GB, free: 142.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/1.252, allocations: 49.31 kB / 1.024 GB, free: 142.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00106/1.253, allocations: 1.001 MB / 1.025 GB, free: 141.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.253, allocations: 0 / 1.025 GB, free: 141.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002913/1.256, allocations: 0.9882 MB / 1.026 GB, free: 140.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002489/1.256, allocations: 154.8 kB / 1.026 GB, free: 140.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005511/1.261, allocations: 4.29 MB / 1.03 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.261, allocations: 0 / 1.03 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/1.265, allocations: 2.673 MB / 1.033 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/1.268, allocations: 0.78 MB / 1.034 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.281, allocations: 9.365 MB / 1.043 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003197/1.284, allocations: 3.674 MB / 1.047 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/1.285, allocations: 123.4 kB / 1.047 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.422e-06/1.285, allocations: 112 / 1.047 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.1247/1.41, allocations: 159.7 MB / 1.203 GB, free: 7.473 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)