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.0053/0.0053, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001166/0.001166, allocations: 198.4 kB / 16.68 MB, free: 5.953 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.002161, allocations: 293.9 kB / 290.8 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.9527/0.9527, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 92.19 kB / 0.6814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4286, 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.02277/0.4514, allocations: 20.41 MB / 0.7863 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01239/0.4638, allocations: 7.537 MB / 0.7937 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.4656, allocations: 59.81 kB / 0.7937 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.4692, allocations: 1.355 MB / 0.7951 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.4719, allocations: 0.9841 MB / 0.796 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004737/0.4766, allocations: 2.01 MB / 0.798 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005476/0.4821, allocations: 4.32 MB / 0.8022 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007872/0.49, allocations: 6.168 MB / 0.8082 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.4928, allocations: 1.862 MB / 0.81 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.4962, allocations: 2.197 MB / 0.8122 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.4974, allocations: 428 kB / 0.8126 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.4995, allocations: 0.9128 MB / 0.8135 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002078/0.5016, allocations: 1.657 MB / 0.8151 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.5037, allocations: 1.712 MB / 0.8168 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005208/0.5089, allocations: 6.169 MB / 0.8228 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5089, allocations: 0 / 0.8228 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5089, allocations: 4 kB / 0.8228 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.138e-05/0.509, allocations: 0 / 0.8228 GB, free: 9.957 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.005282/0.5143, allocations: 3.047 MB / 0.8258 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.5144, allocations: 8.031 kB / 0.8258 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/0.5172, allocations: 0.6805 MB / 0.8265 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.5197, allocations: 1.575 MB / 0.828 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.5199, allocations: 214.2 kB / 0.8282 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004413/0.5203, allocations: 288.3 kB / 0.8285 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007467/0.5278, allocations: 5.043 MB / 0.8334 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.878e-05/0.5279, allocations: 19.77 kB / 0.8334 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/0.5282, allocations: 120 kB / 0.8335 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/0.5284, allocations: 208.6 kB / 0.8337 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00629/0.5347, allocations: 4.177 MB / 0.8378 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.5577, allocations: 22.86 MB / 0.8601 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.5605, allocations: 1.711 MB / 0.8618 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.5619, allocations: 1.149 MB / 0.8629 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.5621, allocations: 101.7 kB / 0.863 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.5622, allocations: 47.16 kB / 0.8631 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.5622, allocations: 0 / 0.8631 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.005497/0.5677, allocations: 3.985 MB / 0.867 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.5678, allocations: 145.1 kB / 0.8671 GB, free: 10 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009847/0.5688, allocations: 0.8409 MB / 0.8679 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/0.5688, allocations: 42.27 kB / 0.868 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006765/0.5695, allocations: 1.17 MB / 0.8691 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.5698, allocations: 311.6 kB / 0.8694 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004169/0.5702, allocations: 270.5 kB / 0.8697 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5704, allocations: 414.7 kB / 0.8701 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.5715, allocations: 0.7984 MB / 0.8708 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.5729, allocations: 1.295 MB / 0.8721 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.5755, allocations: 2.144 MB / 0.8742 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.5755, allocations: 7.938 kB / 0.8742 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003115/0.5787, allocations: 2.168 MB / 0.8763 GB, free: 84 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.5787, allocations: 8 kB / 0.8763 GB, free: 76 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.5787, allocations: 16 kB / 0.8763 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/0.5788, allocations: 20 kB / 0.8764 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.5803, allocations: 403.3 kB / 0.8767 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.424e-05/0.5803, allocations: 32.02 kB / 0.8768 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.5814, allocations: 199.4 kB / 0.877 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.5815, allocations: 63.98 kB / 0.877 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002446/0.5839, allocations: 1.66 MB / 0.8786 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001192/0.5852, allocations: 1.17 MB / 0.8798 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002115/0.5873, allocations: 1.874 MB / 0.8816 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.016e-05/0.5873, allocations: 11.94 kB / 0.8816 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002723/0.59, allocations: 1.886 MB / 0.8835 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.5901, allocations: 12 kB / 0.8835 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.5901, allocations: 16 kB / 0.8835 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.5901, allocations: 24.72 kB / 0.8835 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.5913, allocations: 359.4 kB / 0.8839 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/0.5913, allocations: 31.86 kB / 0.8839 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009955/0.5923, allocations: 163.4 kB / 0.8841 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.5924, allocations: 52 kB / 0.8841 GB, free: 7.652 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.0003879/0.5928, allocations: 275.7 kB / 0.8844 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.5931, allocations: 98.78 kB / 0.8845 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.5957, allocations: 1.839 MB / 0.8863 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.5957, allocations: 12 kB / 0.8863 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5958, allocations: 0 / 0.8863 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5958, allocations: 7.984 kB / 0.8863 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.6075, allocations: 9.569 MB / 0.8956 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.6076, allocations: 16.98 kB / 0.8956 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.6087, allocations: 315.4 kB / 0.8959 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/0.6088, allocations: 16 kB / 0.896 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.6088, allocations: 31.94 kB / 0.896 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.88e-05/0.6089, allocations: 23.88 kB / 0.896 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.6089, allocations: 15.94 kB / 0.896 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.6116, allocations: 2.405 MB / 0.8984 GB, free: 8.613 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/0.6121, allocations: 371.6 kB / 0.8987 GB, free: 8.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6123, allocations: 35.92 kB / 0.8988 GB, free: 8.195 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008283/0.6131, allocations: 139.7 kB / 0.8989 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.6133, allocations: 87.67 kB / 0.899 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.6134, allocations: 36 kB / 0.899 GB, free: 7.938 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007079/0.6141, allocations: 0.5927 MB / 0.8996 GB, free: 7.348 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6141, allocations: 0 / 0.8996 GB, free: 7.348 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002331/0.6164, allocations: 0.75 MB / 0.9003 GB, free: 6.598 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.0002249/0.6167, allocations: 138.9 kB / 0.9005 GB, free: 6.453 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003887/0.6205, allocations: 2.858 MB / 0.9032 GB, free: 3.605 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.6206, allocations: 0 / 0.9032 GB, free: 3.605 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.6218, allocations: 0.9154 MB / 0.9041 GB, free: 2.691 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.6234, allocations: 315 kB / 0.9044 GB, free: 2.41 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.6307, allocations: 4.984 MB / 0.9093 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.6325, allocations: 2.135 MB / 0.9114 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001613/0.6342, allocations: 0.7305 MB / 0.9121 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.6345, allocations: 83.42 kB / 0.9122 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.6345, allocations: 0 / 0.9122 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of Templates: time 0.02853/0.6631, allocations: 17.71 MB / 0.9295 GB, free: 8.715 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)