Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 108.2 kB / 16.41 MB, free: 6.438 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.00115/0.00115, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.353/1.353, 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.002101/0.002101, allocations: 288.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9647/0.9647, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 99.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4447, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0216/0.4663, allocations: 20.42 MB / 0.787 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.4777, allocations: 7.533 MB / 0.7943 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.4792, allocations: 63.81 kB / 0.7944 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003216/0.4824, allocations: 1.344 MB / 0.7957 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.4847, allocations: 0.9919 MB / 0.7967 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004518/0.4893, allocations: 1.996 MB / 0.7986 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004521/0.4938, allocations: 4.335 MB / 0.8029 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006718/0.5005, allocations: 6.159 MB / 0.8089 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.503, allocations: 1.866 MB / 0.8107 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.5058, allocations: 2.201 MB / 0.8128 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005352/0.5064, allocations: 424 kB / 0.8133 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.5078, allocations: 0.9167 MB / 0.8141 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.5092, allocations: 1.657 MB / 0.8158 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.5109, allocations: 1.712 MB / 0.8174 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005175/0.5161, allocations: 6.173 MB / 0.8235 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5161, allocations: 0 / 0.8235 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5162, allocations: 0 / 0.8235 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001013/0.5163, allocations: 0 / 0.8235 GB, free: 9.941 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005449/0.5217, allocations: 3.044 MB / 0.8264 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5218, allocations: 15.97 kB / 0.8265 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.5247, allocations: 0.6727 MB / 0.8271 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.5271, allocations: 1.567 MB / 0.8286 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.5273, allocations: 218.1 kB / 0.8288 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004641/0.5278, allocations: 288.3 kB / 0.8291 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007837/0.5356, allocations: 5.043 MB / 0.834 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/0.5357, allocations: 7.844 kB / 0.8341 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/0.536, allocations: 128 kB / 0.8342 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.5362, allocations: 212.6 kB / 0.8344 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00631/0.5426, allocations: 4.177 MB / 0.8385 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/0.5648, allocations: 22.86 MB / 0.8608 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.5675, allocations: 1.715 MB / 0.8625 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.5691, allocations: 1.149 MB / 0.8636 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.5692, allocations: 101.7 kB / 0.8637 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.5693, allocations: 47.22 kB / 0.8637 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 2.985e-06/0.5693, allocations: 3.938 kB / 0.8637 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.005875/0.5752, allocations: 3.985 MB / 0.8676 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.5752, allocations: 141.2 kB / 0.8678 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.5763, allocations: 0.8448 MB / 0.8686 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.698e-05/0.5764, allocations: 41.7 kB / 0.8686 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006323/0.577, allocations: 1.166 MB / 0.8698 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.5773, allocations: 307.6 kB / 0.8701 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/0.5777, allocations: 278.5 kB / 0.8703 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5779, allocations: 410.7 kB / 0.8707 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.579, allocations: 0.8023 MB / 0.8715 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.5805, allocations: 1.291 MB / 0.8728 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.583, allocations: 2.136 MB / 0.8748 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.5831, allocations: 4 kB / 0.8748 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003162/0.5862, allocations: 2.171 MB / 0.877 GB, free: 84 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5863, allocations: 12.09 kB / 0.877 GB, free: 72 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.5863, allocations: 15.94 kB / 0.877 GB, free: 56 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.5863, allocations: 24 kB / 0.877 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.5879, allocations: 412 kB / 0.8774 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.407e-05/0.588, allocations: 31.86 kB / 0.8774 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.5894, allocations: 199.3 kB / 0.8776 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.5895, allocations: 59.98 kB / 0.8777 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002949/0.5925, allocations: 1.66 MB / 0.8793 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001439/0.5939, allocations: 1.17 MB / 0.8804 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002293/0.5962, allocations: 1.878 MB / 0.8823 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-05/0.5963, allocations: 7.938 kB / 0.8823 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.00272/0.599, allocations: 1.883 MB / 0.8841 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.599, allocations: 18.53 kB / 0.8841 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.599, allocations: 16 kB / 0.8842 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.5991, allocations: 23.98 kB / 0.8842 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.6003, allocations: 355.3 kB / 0.8845 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.193e-05/0.6004, allocations: 31.92 kB / 0.8846 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6015, allocations: 155.4 kB / 0.8847 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.6016, allocations: 60 kB / 0.8848 GB, free: 7.645 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003308/0.6019, allocations: 275.6 kB / 0.885 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.6022, allocations: 102.8 kB / 0.8851 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.605, allocations: 1.835 MB / 0.8869 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.605, allocations: 11.94 kB / 0.8869 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.605, allocations: 0 / 0.8869 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.605, allocations: 7.984 kB / 0.8869 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.6173, allocations: 9.581 MB / 0.8963 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/0.6174, allocations: 12 kB / 0.8963 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.6187, allocations: 311.5 kB / 0.8966 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/0.6187, allocations: 12 kB / 0.8966 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.024e-05/0.6188, allocations: 31.98 kB / 0.8966 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.162e-05/0.6188, allocations: 27.88 kB / 0.8967 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/0.6188, allocations: 19.88 kB / 0.8967 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.6217, allocations: 2.398 MB / 0.899 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/0.6223, allocations: 371.6 kB / 0.8994 GB, free: 8.223 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.6225, allocations: 35.94 kB / 0.8994 GB, free: 8.188 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/0.6235, allocations: 143.7 kB / 0.8995 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.6237, allocations: 91.61 kB / 0.8996 GB, free: 7.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.222e-05/0.6238, allocations: 36 kB / 0.8997 GB, free: 7.922 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000786/0.6246, allocations: 0.5888 MB / 0.9002 GB, free: 7.336 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6246, allocations: 0 / 0.9002 GB, free: 7.336 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002534/0.6271, allocations: 0.7461 MB / 0.901 GB, free: 6.59 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.6274, allocations: 147 kB / 0.9011 GB, free: 6.438 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004106/0.6315, allocations: 2.855 MB / 0.9039 GB, free: 3.594 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.6315, allocations: 7.938 kB / 0.9039 GB, free: 3.586 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.6328, allocations: 0.9116 MB / 0.9048 GB, free: 2.676 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.6347, allocations: 318.4 kB / 0.9051 GB, free: 2.391 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009001/0.6437, allocations: 5.435 MB / 0.9104 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002434/0.6462, allocations: 2.191 MB / 0.9126 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/0.6468, allocations: 99.42 kB / 0.9126 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of SimCode: time 8.81e-07/0.6468, allocations: 0 / 0.9126 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of Templates: time 0.03897/0.6857, allocations: 27.86 MB / 0.9399 GB, free: 14.67 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)