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.00139/0.00139, allocations: 105.3 kB / 16.41 MB, free: 5.977 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.00129/0.00129, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002208/0.002208, allocations: 292.1 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.9943/0.9943, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 95.83 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4106, allocations: 86.98 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0244/0.435, allocations: 20.42 MB / 0.787 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.4482, allocations: 7.522 MB / 0.7943 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.4502, allocations: 59.81 kB / 0.7944 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003756/0.454, allocations: 1.351 MB / 0.7957 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.4566, allocations: 0.9763 MB / 0.7967 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004854/0.4615, allocations: 2.002 MB / 0.7986 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005032/0.4665, allocations: 4.32 MB / 0.8028 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007229/0.4738, allocations: 6.164 MB / 0.8089 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.4763, allocations: 1.858 MB / 0.8107 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003145/0.4795, allocations: 2.205 MB / 0.8128 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.4806, allocations: 428 kB / 0.8132 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.4827, allocations: 0.9128 MB / 0.8141 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001954/0.4847, allocations: 1.653 MB / 0.8157 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.4867, allocations: 1.708 MB / 0.8174 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005833/0.4926, allocations: 6.169 MB / 0.8234 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4926, allocations: 0 / 0.8234 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4926, allocations: 4 kB / 0.8234 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001071/0.4927, allocations: 0 / 0.8234 GB, free: 9.992 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.005993/0.4987, allocations: 3.047 MB / 0.8264 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4988, allocations: 8.031 kB / 0.8264 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.5018, allocations: 0.6844 MB / 0.8271 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.5045, allocations: 1.563 MB / 0.8286 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.5047, allocations: 222.2 kB / 0.8288 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000473/0.5051, allocations: 284.3 kB / 0.8291 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008603/0.5138, allocations: 5.047 MB / 0.834 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.818e-05/0.5139, allocations: 15.84 kB / 0.834 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.5142, allocations: 120 kB / 0.8342 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/0.5145, allocations: 212.6 kB / 0.8344 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006784/0.5212, allocations: 4.177 MB / 0.8384 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02365/0.5449, allocations: 22.87 MB / 0.8608 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.5478, allocations: 1.719 MB / 0.8625 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.5495, allocations: 1.141 MB / 0.8636 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.5497, allocations: 105.7 kB / 0.8637 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5497, allocations: 47.16 kB / 0.8637 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 2.605e-06/0.5497, allocations: 0 / 0.8637 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.005707/0.5554, allocations: 3.989 MB / 0.8676 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.5556, allocations: 137.2 kB / 0.8677 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.5566, allocations: 0.8448 MB / 0.8686 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/0.5567, allocations: 37.7 kB / 0.8686 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.5574, allocations: 1.169 MB / 0.8697 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.5577, allocations: 311.6 kB / 0.87 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/0.5581, allocations: 270.5 kB / 0.8703 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.5583, allocations: 414.7 kB / 0.8707 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.5594, allocations: 0.7984 MB / 0.8715 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.5609, allocations: 1.295 MB / 0.8727 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.5635, allocations: 2.143 MB / 0.8748 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.5635, allocations: 4 kB / 0.8748 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00328/0.5668, allocations: 2.164 MB / 0.8769 GB, free: 124 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.5669, allocations: 12 kB / 0.877 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.5669, allocations: 20.09 kB / 0.877 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/0.5669, allocations: 20 kB / 0.877 GB, free: 72 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.5685, allocations: 407.3 kB / 0.8774 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.082e-05/0.5686, allocations: 31.86 kB / 0.8774 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.5698, allocations: 199.3 kB / 0.8776 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.5699, allocations: 59.98 kB / 0.8777 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002519/0.5725, allocations: 1.656 MB / 0.8793 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001283/0.5738, allocations: 1.174 MB / 0.8804 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002236/0.576, allocations: 1.871 MB / 0.8823 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.059e-05/0.576, allocations: 7.938 kB / 0.8823 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002805/0.5788, allocations: 1.887 MB / 0.8841 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5789, allocations: 12 kB / 0.8841 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.5789, allocations: 16 kB / 0.8841 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.5789, allocations: 23.98 kB / 0.8842 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.5802, allocations: 355.4 kB / 0.8845 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.833e-05/0.5802, allocations: 35.86 kB / 0.8845 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.5813, allocations: 155.8 kB / 0.8847 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/0.5814, allocations: 63.98 kB / 0.8847 GB, free: 7.688 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.00038/0.5818, allocations: 267.9 kB / 0.885 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.5821, allocations: 102.8 kB / 0.8851 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.5849, allocations: 1.846 MB / 0.8869 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.585, allocations: 8 kB / 0.8869 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.585, allocations: 4 kB / 0.8869 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.585, allocations: 3.984 kB / 0.8869 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.5977, allocations: 9.573 MB / 0.8963 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.5978, allocations: 12 kB / 0.8963 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.5991, allocations: 315.5 kB / 0.8966 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.5991, allocations: 16.66 kB / 0.8966 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.078e-05/0.5992, allocations: 32 kB / 0.8966 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.017e-05/0.5992, allocations: 27.86 kB / 0.8966 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/0.5992, allocations: 19.92 kB / 0.8967 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.602, allocations: 2.405 MB / 0.899 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006716/0.6027, allocations: 371.6 kB / 0.8994 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.6029, allocations: 31.94 kB / 0.8994 GB, free: 8.223 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/0.6038, allocations: 139.7 kB / 0.8995 GB, free: 8.086 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.604, allocations: 87.67 kB / 0.8996 GB, free: 8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.6041, allocations: 36 kB / 0.8996 GB, free: 7.965 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007588/0.6049, allocations: 0.5926 MB / 0.9002 GB, free: 7.375 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6049, allocations: 0 / 0.9002 GB, free: 7.375 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002399/0.6073, allocations: 0.75 MB / 0.901 GB, free: 6.625 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.0002496/0.6076, allocations: 143 kB / 0.9011 GB, free: 6.477 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003947/0.6115, allocations: 2.858 MB / 0.9039 GB, free: 3.629 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6115, allocations: 4 kB / 0.9039 GB, free: 3.625 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.6128, allocations: 0.9116 MB / 0.9048 GB, free: 2.715 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.6146, allocations: 301.9 kB / 0.9051 GB, free: 2.445 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008282/0.6229, allocations: 5.435 MB / 0.9104 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.6251, allocations: 2.191 MB / 0.9125 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/0.6257, allocations: 91.42 kB / 0.9126 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of SimCode: time 6.52e-07/0.6257, allocations: 3.938 kB / 0.9126 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.03956/0.6653, allocations: 27.88 MB / 0.9398 GB, free: 14.71 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)