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.006052/0.006052, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001112/0.001112, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 287.3 kB / 290.8 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.9053/0.9053, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 95.86 kB / 0.6815 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4223, allocations: 86.98 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0232/0.4455, allocations: 20.41 MB / 0.7863 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.4573, allocations: 7.529 MB / 0.7937 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.4587, allocations: 59.81 kB / 0.7937 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003666/0.4624, allocations: 1.356 MB / 0.7951 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.465, allocations: 0.9919 MB / 0.796 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.4699, allocations: 2.001 MB / 0.798 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004926/0.4748, allocations: 4.328 MB / 0.8022 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007987/0.4828, allocations: 6.161 MB / 0.8082 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.4852, allocations: 1.866 MB / 0.81 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.4875, allocations: 2.193 MB / 0.8122 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004576/0.488, allocations: 428 kB / 0.8126 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.4895, allocations: 0.9089 MB / 0.8135 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.4909, allocations: 1.661 MB / 0.8151 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.4924, allocations: 1.708 MB / 0.8168 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004861/0.4973, allocations: 6.173 MB / 0.8228 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4973, allocations: 0 / 0.8228 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4973, allocations: 0 / 0.8228 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.253e-05/0.4974, allocations: 0 / 0.8228 GB, free: 9.969 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.004866/0.5023, allocations: 3.047 MB / 0.8258 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5023, allocations: 8.031 kB / 0.8258 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/0.5052, allocations: 0.6805 MB / 0.8264 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.5074, allocations: 1.571 MB / 0.828 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.5076, allocations: 218.1 kB / 0.8282 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004527/0.5081, allocations: 288.4 kB / 0.8285 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007095/0.5152, allocations: 5.039 MB / 0.8334 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.5152, allocations: 11.84 kB / 0.8334 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/0.5156, allocations: 128 kB / 0.8335 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/0.5158, allocations: 208.6 kB / 0.8337 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006431/0.5222, allocations: 4.177 MB / 0.8378 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.5447, allocations: 22.86 MB / 0.8601 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/0.5475, allocations: 1.715 MB / 0.8618 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.549, allocations: 1.145 MB / 0.8629 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.5492, allocations: 105.7 kB / 0.863 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.5492, allocations: 47.22 kB / 0.8631 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 3.186e-06/0.5493, allocations: 3.938 kB / 0.8631 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.005194/0.5544, allocations: 3.985 MB / 0.867 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.5545, allocations: 141.1 kB / 0.8671 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/0.5555, allocations: 0.8448 MB / 0.8679 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.007e-05/0.5555, allocations: 45.7 kB / 0.868 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006076/0.5562, allocations: 1.162 MB / 0.8691 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.5564, allocations: 311.6 kB / 0.8694 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.5568, allocations: 274.5 kB / 0.8697 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.557, allocations: 414.7 kB / 0.8701 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.5581, allocations: 0.8023 MB / 0.8708 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.5595, allocations: 1.291 MB / 0.8721 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.562, allocations: 2.14 MB / 0.8742 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.562, allocations: 8 kB / 0.8742 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003208/0.5652, allocations: 2.163 MB / 0.8763 GB, free: 100 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5653, allocations: 13 kB / 0.8763 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.5653, allocations: 16 kB / 0.8763 GB, free: 72 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.5653, allocations: 24 kB / 0.8764 GB, free: 48 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.5668, allocations: 415.2 kB / 0.8768 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.5669, allocations: 23.94 kB / 0.8768 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.5679, allocations: 195.3 kB / 0.877 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.58e-05/0.568, allocations: 59.98 kB / 0.877 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002268/0.5703, allocations: 1.664 MB / 0.8786 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001243/0.5716, allocations: 1.166 MB / 0.8798 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002142/0.5737, allocations: 1.882 MB / 0.8816 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.514e-06/0.5737, allocations: 7.938 kB / 0.8816 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002703/0.5764, allocations: 1.887 MB / 0.8835 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5765, allocations: 8 kB / 0.8835 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5765, allocations: 16 kB / 0.8835 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5765, allocations: 24 kB / 0.8835 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.5777, allocations: 355.4 kB / 0.8839 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.577e-05/0.5778, allocations: 31.86 kB / 0.8839 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009967/0.5788, allocations: 163.7 kB / 0.884 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/0.5789, allocations: 59.98 kB / 0.8841 GB, free: 7.66 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.0003754/0.5793, allocations: 267.7 kB / 0.8844 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.5795, allocations: 98.78 kB / 0.8845 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.5822, allocations: 1.835 MB / 0.8862 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.5822, allocations: 15.94 kB / 0.8863 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5823, allocations: 0 / 0.8863 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.5823, allocations: 3.984 kB / 0.8863 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.5943, allocations: 9.589 MB / 0.8956 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/0.5944, allocations: 8 kB / 0.8956 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.5956, allocations: 307.5 kB / 0.8959 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.181e-05/0.5956, allocations: 16.19 kB / 0.8959 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.5957, allocations: 36.53 kB / 0.896 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.017e-05/0.5957, allocations: 31.8 kB / 0.896 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.877e-05/0.5957, allocations: 19.94 kB / 0.896 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.5986, allocations: 2.394 MB / 0.8984 GB, free: 8.625 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006748/0.5993, allocations: 379.8 kB / 0.8987 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.5996, allocations: 39.92 kB / 0.8988 GB, free: 8.195 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.6011, allocations: 135.7 kB / 0.8989 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.6013, allocations: 91.67 kB / 0.899 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.137e-05/0.6014, allocations: 35.98 kB / 0.899 GB, free: 7.938 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008307/0.6022, allocations: 0.5888 MB / 0.8996 GB, free: 7.352 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6023, allocations: 0 / 0.8996 GB, free: 7.352 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002564/0.6048, allocations: 0.7461 MB / 0.9003 GB, free: 6.605 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.0002455/0.6051, allocations: 146.9 kB / 0.9005 GB, free: 6.453 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004203/0.6093, allocations: 2.855 MB / 0.9032 GB, free: 3.609 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6093, allocations: 0 / 0.9032 GB, free: 3.609 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.6106, allocations: 0.9234 MB / 0.9041 GB, free: 2.688 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.6124, allocations: 314.4 kB / 0.9044 GB, free: 2.406 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008077/0.6205, allocations: 4.972 MB / 0.9093 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.6228, allocations: 2.131 MB / 0.9114 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001729/0.6245, allocations: 0.7345 MB / 0.9121 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/0.6249, allocations: 87.41 kB / 0.9122 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of SimCode: time 6.61e-07/0.6249, allocations: 0 / 0.9122 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of Templates: time 0.02791/0.6528, allocations: 17.71 MB / 0.9295 GB, free: 8.723 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)