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.001283/0.001283, allocations: 108.8 kB / 16.41 MB, free: 6.449 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.001291/0.001291, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002607/0.002607, allocations: 293.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 103.8 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.493, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02685/0.5199, allocations: 20.46 MB / 0.787 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.5338, allocations: 7.549 MB / 0.7944 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.5355, allocations: 59.81 kB / 0.7945 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003665/0.5392, allocations: 1.364 MB / 0.7958 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.5418, allocations: 0.988 MB / 0.7968 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004986/0.5468, allocations: 2.006 MB / 0.7987 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005455/0.5523, allocations: 4.32 MB / 0.8029 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006177/0.5584, allocations: 4.497 MB / 0.8073 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.5614, allocations: 1.862 MB / 0.8091 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003288/0.5647, allocations: 2.201 MB / 0.8113 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006225/0.5653, allocations: 431.9 kB / 0.8117 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.567, allocations: 0.9089 MB / 0.8126 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.5688, allocations: 1.703 MB / 0.8143 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.5708, allocations: 1.708 MB / 0.8159 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006778/0.5776, allocations: 6.182 MB / 0.822 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5776, allocations: 0 / 0.822 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5776, allocations: 0 / 0.822 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001298/0.5777, allocations: 3.938 kB / 0.822 GB, free: 11.48 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.006562/0.5843, allocations: 3.106 MB / 0.825 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5843, allocations: 12.03 kB / 0.825 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.5874, allocations: 0.6898 MB / 0.8257 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.5908, allocations: 1.571 MB / 0.8272 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.591, allocations: 226.1 kB / 0.8274 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005508/0.5916, allocations: 284.3 kB / 0.8277 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008883/0.6004, allocations: 5.047 MB / 0.8326 GB, free: 268 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/0.6005, allocations: 11.94 kB / 0.8326 GB, free: 256 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.6008, allocations: 124 kB / 0.8328 GB, free: 132 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002712/0.6011, allocations: 204.7 kB / 0.833 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007409/0.6085, allocations: 4.181 MB / 0.837 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.6363, allocations: 22.89 MB / 0.8594 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.6393, allocations: 1.653 MB / 0.861 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.641, allocations: 1.089 MB / 0.8621 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.6411, allocations: 97.66 kB / 0.8622 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/0.6412, allocations: 51.16 kB / 0.8622 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 2.495e-06/0.6412, allocations: 4 kB / 0.8622 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.006505/0.6477, allocations: 4.09 MB / 0.8662 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.6478, allocations: 145.7 kB / 0.8664 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.6489, allocations: 0.8487 MB / 0.8672 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.649, allocations: 41.7 kB / 0.8672 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008731/0.6499, allocations: 1.201 MB / 0.8684 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.6502, allocations: 321.2 kB / 0.8687 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/0.6507, allocations: 270.8 kB / 0.869 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002366/0.6509, allocations: 406.7 kB / 0.8693 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.6522, allocations: 0.8139 MB / 0.8701 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.6539, allocations: 1.283 MB / 0.8714 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.6569, allocations: 2.143 MB / 0.8735 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.6569, allocations: 4 kB / 0.8735 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003578/0.6605, allocations: 2.18 MB / 0.8756 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.6606, allocations: 10.5 kB / 0.8756 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.6606, allocations: 16.09 kB / 0.8756 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.888e-05/0.6606, allocations: 23.94 kB / 0.8757 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.6623, allocations: 407.9 kB / 0.8761 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.563e-05/0.6623, allocations: 35.86 kB / 0.8761 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.6636, allocations: 195.4 kB / 0.8763 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.6637, allocations: 63.98 kB / 0.8763 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002638/0.6663, allocations: 1.656 MB / 0.878 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001499/0.6678, allocations: 1.166 MB / 0.8791 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002532/0.6704, allocations: 1.874 MB / 0.8809 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.165e-05/0.6704, allocations: 15.94 kB / 0.8809 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003065/0.6734, allocations: 1.879 MB / 0.8828 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6734, allocations: 12.22 kB / 0.8828 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.6735, allocations: 20 kB / 0.8828 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.6735, allocations: 24 kB / 0.8828 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.6748, allocations: 363.3 kB / 0.8832 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.969e-05/0.6748, allocations: 27.92 kB / 0.8832 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.676, allocations: 159.5 kB / 0.8834 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/0.6761, allocations: 59.98 kB / 0.8834 GB, free: 9.047 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.0004292/0.6765, allocations: 271.7 kB / 0.8837 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.6768, allocations: 103.3 kB / 0.8838 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.6802, allocations: 1.854 MB / 0.8856 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.6802, allocations: 12 kB / 0.8856 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6803, allocations: 0 / 0.8856 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6803, allocations: 3.984 kB / 0.8856 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.6948, allocations: 9.585 MB / 0.895 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.6948, allocations: 12 kB / 0.895 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.6961, allocations: 307.5 kB / 0.8953 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/0.6962, allocations: 16 kB / 0.8953 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.6962, allocations: 28 kB / 0.8953 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.052e-05/0.6963, allocations: 27.86 kB / 0.8953 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-05/0.6963, allocations: 23.92 kB / 0.8954 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.6996, allocations: 2.402 MB / 0.8977 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007938/0.7003, allocations: 380.1 kB / 0.8981 GB, free: 9.598 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.7005, allocations: 31.98 kB / 0.8981 GB, free: 9.566 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009401/0.7014, allocations: 147.7 kB / 0.8982 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.7016, allocations: 91.61 kB / 0.8983 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/0.7017, allocations: 32 kB / 0.8984 GB, free: 9.301 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008282/0.7025, allocations: 0.5888 MB / 0.8989 GB, free: 8.715 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.7025, allocations: 0 / 0.8989 GB, free: 8.715 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002589/0.7051, allocations: 0.75 MB / 0.8997 GB, free: 7.965 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.0002752/0.7054, allocations: 142.9 kB / 0.8998 GB, free: 7.816 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004573/0.71, allocations: 2.714 MB / 0.9024 GB, free: 5.113 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.71, allocations: 0.7812 kB / 0.9024 GB, free: 5.113 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.7115, allocations: 0.896 MB / 0.9033 GB, free: 4.219 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.7135, allocations: 304.1 kB / 0.9036 GB, free: 3.945 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009381/0.7229, allocations: 5.055 MB / 0.9085 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/0.7253, allocations: 2.124 MB / 0.9106 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001969/0.7272, allocations: 0.7384 MB / 0.9113 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.7276, allocations: 83.42 kB / 0.9114 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of SimCode: time 1.302e-06/0.7276, allocations: 0 / 0.9114 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of Templates: time 0.03361/0.7612, allocations: 17.83 MB / 0.9288 GB, free: 10.07 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)