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.00134/0.00134, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001441/0.001441, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002264/0.002264, allocations: 284.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9559/0.9559, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4374, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02444/0.4619, allocations: 20.41 MB / 0.787 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.4739, allocations: 7.533 MB / 0.7943 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.4756, allocations: 63.81 kB / 0.7944 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003615/0.4793, allocations: 1.348 MB / 0.7957 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.4819, allocations: 0.9723 MB / 0.7967 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.4867, allocations: 2.01 MB / 0.7986 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005255/0.492, allocations: 4.308 MB / 0.8028 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008821/0.5008, allocations: 6.168 MB / 0.8089 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.504, allocations: 1.866 MB / 0.8107 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004315/0.5083, allocations: 2.193 MB / 0.8128 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.5097, allocations: 428 kB / 0.8132 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.512, allocations: 0.9089 MB / 0.8141 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.5137, allocations: 1.665 MB / 0.8158 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.5155, allocations: 1.708 MB / 0.8174 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005272/0.5208, allocations: 6.169 MB / 0.8234 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.5208, allocations: 0 / 0.8234 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5208, allocations: 4 kB / 0.8234 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.606e-05/0.5209, allocations: 0 / 0.8234 GB, free: 9.953 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.005123/0.526, allocations: 3.047 MB / 0.8264 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5261, allocations: 8.031 kB / 0.8264 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.529, allocations: 0.6805 MB / 0.8271 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.5315, allocations: 1.571 MB / 0.8286 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.5317, allocations: 214.2 kB / 0.8288 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004723/0.5322, allocations: 288.3 kB / 0.8291 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007963/0.5401, allocations: 5.051 MB / 0.834 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.094e-05/0.5402, allocations: 11.84 kB / 0.8341 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.5405, allocations: 120 kB / 0.8342 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000242/0.5408, allocations: 212.6 kB / 0.8344 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007455/0.5482, allocations: 4.177 MB / 0.8384 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03081/0.5791, allocations: 22.86 MB / 0.8608 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.5821, allocations: 1.715 MB / 0.8624 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.5838, allocations: 1.149 MB / 0.8636 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.584, allocations: 101.7 kB / 0.8637 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.5841, allocations: 47.16 kB / 0.8637 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/0.5841, allocations: 4 kB / 0.8637 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.006482/0.5906, allocations: 3.981 MB / 0.8676 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.5907, allocations: 145.1 kB / 0.8677 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.5919, allocations: 0.8409 MB / 0.8686 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.95e-05/0.592, allocations: 46.2 kB / 0.8686 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/0.5927, allocations: 1.166 MB / 0.8697 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.593, allocations: 311.6 kB / 0.87 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004367/0.5935, allocations: 274.5 kB / 0.8703 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.5937, allocations: 406.7 kB / 0.8707 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.595, allocations: 0.8023 MB / 0.8715 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.5966, allocations: 1.291 MB / 0.8727 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.5994, allocations: 2.147 MB / 0.8748 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.5995, allocations: 4 kB / 0.8748 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003366/0.6028, allocations: 2.168 MB / 0.877 GB, free: 84 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.6029, allocations: 8 kB / 0.877 GB, free: 76 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.6029, allocations: 16 kB / 0.877 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/0.6029, allocations: 20 kB / 0.877 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.6045, allocations: 411.3 kB / 0.8774 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.772e-05/0.6046, allocations: 27.94 kB / 0.8774 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.6058, allocations: 195.4 kB / 0.8776 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.6059, allocations: 64.08 kB / 0.8777 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002602/0.6085, allocations: 1.664 MB / 0.8793 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001357/0.6099, allocations: 1.17 MB / 0.8804 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002407/0.6123, allocations: 1.874 MB / 0.8823 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-05/0.6123, allocations: 4 kB / 0.8823 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003124/0.6155, allocations: 1.89 MB / 0.8841 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6155, allocations: 14.34 kB / 0.8841 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.6155, allocations: 16 kB / 0.8841 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.6156, allocations: 24.94 kB / 0.8842 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.6169, allocations: 359.4 kB / 0.8845 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-05/0.6169, allocations: 31.86 kB / 0.8845 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.618, allocations: 159.4 kB / 0.8847 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.6182, allocations: 63.97 kB / 0.8847 GB, free: 7.641 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.000414/0.6186, allocations: 267.7 kB / 0.885 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/0.6189, allocations: 102.8 kB / 0.8851 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.6219, allocations: 1.835 MB / 0.8869 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.622, allocations: 7.984 kB / 0.8869 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.622, allocations: 0 / 0.8869 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005697/0.6226, allocations: 359.6 kB / 0.8872 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.6228, allocations: 23.94 kB / 0.8873 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.624, allocations: 231.4 kB / 0.8875 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.6242, allocations: 52.53 kB / 0.8875 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00322/0.6274, allocations: 2.146 MB / 0.8896 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002531/0.6299, allocations: 2.138 MB / 0.8917 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001044/0.631, allocations: 0.8249 MB / 0.8925 GB, free: 15.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008633/0.6319, allocations: 0.5888 MB / 0.8931 GB, free: 15.02 MB / 0.67 GB Notification: Performance of Backend: time 8.71e-07/0.6319, allocations: 0 / 0.8931 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004902/0.6368, allocations: 2.396 MB / 0.8954 GB, free: 12.62 MB / 0.67 GB Notification: Performance of SimCode: time 0.008457/0.6453, allocations: 4.353 MB / 0.8997 GB, free: 8.242 MB / 0.67 GB Notification: Performance of Templates: time 0.04561/0.6909, allocations: 28.44 MB / 0.9275 GB, free: 12.03 MB / 0.7012 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)