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.001633/0.001633, allocations: 110.5 kB / 16.42 MB, free: 6.508 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.00181/0.00181, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 295.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.943/0.943, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003525/0.003525, allocations: 95.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.4937, allocations: 86.97 MB / 0.7671 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0245/0.5183, allocations: 20.41 MB / 0.787 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.5318, allocations: 7.533 MB / 0.7943 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.5337, allocations: 59.81 kB / 0.7944 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003751/0.5375, allocations: 1.364 MB / 0.7957 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.5402, allocations: 0.9802 MB / 0.7967 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.5451, allocations: 2.005 MB / 0.7986 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.5501, allocations: 4.328 MB / 0.8029 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008102/0.5582, allocations: 6.168 MB / 0.8089 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.5612, allocations: 1.862 MB / 0.8107 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.5652, allocations: 2.193 MB / 0.8129 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001306/0.5665, allocations: 428 kB / 0.8133 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.569, allocations: 0.9167 MB / 0.8142 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002609/0.5716, allocations: 1.657 MB / 0.8158 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003797/0.5754, allocations: 1.708 MB / 0.8174 GB, free: 256 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006328/0.5817, allocations: 6.173 MB / 0.8235 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5817, allocations: 0 / 0.8235 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5818, allocations: 4 kB / 0.8235 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001133/0.5819, allocations: 0 / 0.8235 GB, free: 10.06 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.00618/0.5881, allocations: 3.05 MB / 0.8265 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.5881, allocations: 8.031 kB / 0.8265 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.5912, allocations: 0.6766 MB / 0.8271 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003355/0.5946, allocations: 1.567 MB / 0.8287 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.5948, allocations: 222.1 kB / 0.8289 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/0.5952, allocations: 280.4 kB / 0.8291 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00834/0.6036, allocations: 5.051 MB / 0.8341 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-05/0.6037, allocations: 11.84 kB / 0.8341 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000319/0.604, allocations: 124 kB / 0.8342 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/0.6042, allocations: 212.6 kB / 0.8344 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006737/0.611, allocations: 4.173 MB / 0.8385 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02585/0.6368, allocations: 22.86 MB / 0.8608 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/0.6397, allocations: 1.719 MB / 0.8625 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.6414, allocations: 1.145 MB / 0.8636 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.6415, allocations: 101.7 kB / 0.8637 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.6416, allocations: 43.16 kB / 0.8637 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 3.396e-06/0.6416, allocations: 4 kB / 0.8637 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.005944/0.6475, allocations: 3.981 MB / 0.8676 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.6477, allocations: 141.1 kB / 0.8678 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.6488, allocations: 0.8492 MB / 0.8686 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.6489, allocations: 41.7 kB / 0.8686 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007462/0.6496, allocations: 1.173 MB / 0.8698 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.6499, allocations: 311.6 kB / 0.8701 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.6504, allocations: 270.5 kB / 0.8703 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.6506, allocations: 406.7 kB / 0.8707 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.6518, allocations: 0.7984 MB / 0.8715 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.6533, allocations: 1.295 MB / 0.8728 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.6559, allocations: 2.14 MB / 0.8749 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.6559, allocations: 4.094 kB / 0.8749 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003146/0.6591, allocations: 2.176 MB / 0.877 GB, free: 196 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.6591, allocations: 12 kB / 0.877 GB, free: 184 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.6591, allocations: 16 kB / 0.877 GB, free: 168 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-05/0.6592, allocations: 20 kB / 0.877 GB, free: 148 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.6608, allocations: 407.2 kB / 0.8774 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.341e-05/0.6608, allocations: 27.92 kB / 0.8774 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.662, allocations: 203.5 kB / 0.8776 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.6621, allocations: 63.98 kB / 0.8777 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002529/0.6646, allocations: 1.657 MB / 0.8793 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001323/0.666, allocations: 1.174 MB / 0.8805 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002333/0.6683, allocations: 1.867 MB / 0.8823 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.856e-06/0.6683, allocations: 4 kB / 0.8823 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002795/0.6711, allocations: 1.898 MB / 0.8841 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.6712, allocations: 12 kB / 0.8842 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.6712, allocations: 16 kB / 0.8842 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.6712, allocations: 20.81 kB / 0.8842 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.6725, allocations: 359.4 kB / 0.8845 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.393e-05/0.6726, allocations: 35.86 kB / 0.8846 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.6736, allocations: 151.4 kB / 0.8847 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.6737, allocations: 67.98 kB / 0.8848 GB, free: 7.754 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.0004306/0.6742, allocations: 267.7 kB / 0.885 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.6744, allocations: 106.8 kB / 0.8851 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/0.6773, allocations: 1.831 MB / 0.8869 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.6773, allocations: 7.922 kB / 0.8869 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6773, allocations: 8 kB / 0.8869 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006461/0.6779, allocations: 355.6 kB / 0.8873 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.6781, allocations: 19.94 kB / 0.8873 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.6793, allocations: 231.6 kB / 0.8875 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.6794, allocations: 52.52 kB / 0.8876 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003185/0.6826, allocations: 2.138 MB / 0.8897 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002569/0.6852, allocations: 2.146 MB / 0.8918 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001083/0.6863, allocations: 0.821 MB / 0.8926 GB, free: 15.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007724/0.6871, allocations: 0.5926 MB / 0.8931 GB, free: 15.12 MB / 0.67 GB Notification: Performance of Backend: time 3.3e-07/0.6871, allocations: 0 / 0.8931 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004812/0.6919, allocations: 2.392 MB / 0.8955 GB, free: 12.74 MB / 0.67 GB Notification: Performance of SimCode: time 0.008445/0.7004, allocations: 4.357 MB / 0.8997 GB, free: 8.352 MB / 0.67 GB Notification: Performance of Templates: time 0.04834/0.7487, allocations: 28.42 MB / 0.9275 GB, free: 12.14 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)