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.0008813/0.0008814, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008274/0.0008277, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001693/0.001693, allocations: 278 kB / 291.3 MB, free: 1.836 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 18.58 kB / 0.598 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1587, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02036/0.1791, allocations: 18.52 MB / 0.7026 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.1905, allocations: 7.13 MB / 0.7095 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.1918, allocations: 56.47 kB / 0.7096 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009115/0.1927, allocations: 357.3 kB / 0.7099 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.1945, allocations: 0.7548 MB / 0.7107 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.1971, allocations: 1.018 MB / 0.7117 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005187/0.2023, allocations: 4.93 MB / 0.7165 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009098/0.2114, allocations: 6.532 MB / 0.7229 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.2135, allocations: 1.288 MB / 0.7241 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.2159, allocations: 1.83 MB / 0.7259 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.2162, allocations: 176 kB / 0.7261 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009474/0.2171, allocations: 431.6 kB / 0.7265 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.2184, allocations: 1.325 MB / 0.7278 GB, free: 3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005944/0.219, allocations: 0.5589 MB / 0.7283 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004344/0.2233, allocations: 5.143 MB / 0.7333 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2233, allocations: 0 / 0.7333 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2233, allocations: 0 / 0.7333 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001018/0.2235, allocations: 0 / 0.7333 GB, free: 13.28 MB / 0.5294 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.004213/0.2277, allocations: 2.47 MB / 0.7358 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2277, allocations: 8.031 kB / 0.7358 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.2304, allocations: 0.6951 MB / 0.7364 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.2328, allocations: 1.508 MB / 0.7379 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.233, allocations: 225.7 kB / 0.7381 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004295/0.2334, allocations: 288 kB / 0.7384 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008026/0.2414, allocations: 5.02 MB / 0.7433 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.647e-05/0.2415, allocations: 11.88 kB / 0.7433 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.2418, allocations: 120 kB / 0.7434 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002449/0.2421, allocations: 208.6 kB / 0.7436 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006978/0.2491, allocations: 4.165 MB / 0.7477 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.2726, allocations: 23.02 MB / 0.7702 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.2753, allocations: 1.716 MB / 0.7719 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.2769, allocations: 1.126 MB / 0.773 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.277, allocations: 101.7 kB / 0.7731 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.2771, allocations: 51.11 kB / 0.7731 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 3.456e-06/0.2771, allocations: 0 / 0.7731 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.345/0.6221, allocations: 3.994 MB / 0.777 GB, free: 87.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.6221, allocations: 147.3 kB / 0.7771 GB, free: 86.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.6234, allocations: 0.8402 MB / 0.778 GB, free: 86.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.6235, allocations: 42.77 kB / 0.778 GB, free: 86.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007745/0.6243, allocations: 1.153 MB / 0.7791 GB, free: 86.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.6246, allocations: 318.2 kB / 0.7794 GB, free: 85.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-05/0.6247, allocations: 24.38 kB / 0.7795 GB, free: 85.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6248, allocations: 408.3 kB / 0.7798 GB, free: 85.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.626, allocations: 0.7956 MB / 0.7806 GB, free: 85.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.6274, allocations: 1.291 MB / 0.7819 GB, free: 84.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.6287, allocations: 0.9992 MB / 0.7829 GB, free: 84.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.6288, allocations: 4.094 kB / 0.7829 GB, free: 84.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003343/0.6321, allocations: 2.169 MB / 0.785 GB, free: 83.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.6324, allocations: 0.4992 MB / 0.7855 GB, free: 82.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.6325, allocations: 13.38 kB / 0.7855 GB, free: 82.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.721e-05/0.6325, allocations: 26.67 kB / 0.7855 GB, free: 82.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.6339, allocations: 414.1 kB / 0.7859 GB, free: 82.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/0.634, allocations: 32.39 kB / 0.7859 GB, free: 82.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6351, allocations: 198.1 kB / 0.7861 GB, free: 82.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6352, allocations: 57.55 kB / 0.7862 GB, free: 82.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.6352, allocations: 5.562 kB / 0.7862 GB, free: 82.78 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002561/0.6378, allocations: 1.761 MB / 0.7879 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.6378, allocations: 13.12 kB / 0.7879 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.6379, allocations: 25.56 kB / 0.7879 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.6391, allocations: 362.7 kB / 0.7883 GB, free: 82.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.625e-05/0.6392, allocations: 25.7 kB / 0.7883 GB, free: 82.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.6402, allocations: 150 kB / 0.7885 GB, free: 82.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/0.6403, allocations: 59.41 kB / 0.7885 GB, free: 82.04 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00201/0.6423, allocations: 1.175 MB / 0.7897 GB, free: 81.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.6426, allocations: 100.3 kB / 0.7898 GB, free: 81.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.6455, allocations: 1.854 MB / 0.7916 GB, free: 80.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.6455, allocations: 10.56 kB / 0.7916 GB, free: 80.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6455, allocations: 2.469 kB / 0.7916 GB, free: 80.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6455, allocations: 6.547 kB / 0.7916 GB, free: 80.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.6585, allocations: 9.579 MB / 0.8009 GB, free: 76.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/0.6585, allocations: 10.47 kB / 0.8009 GB, free: 76.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.6596, allocations: 312.1 kB / 0.8012 GB, free: 76.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/0.6597, allocations: 20.53 kB / 0.8013 GB, free: 76.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.6598, allocations: 29.78 kB / 0.8013 GB, free: 76.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.957e-05/0.6598, allocations: 22.78 kB / 0.8013 GB, free: 76.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/0.6598, allocations: 17.19 kB / 0.8013 GB, free: 76.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.6624, allocations: 2.41 MB / 0.8037 GB, free: 75.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/0.663, allocations: 382.3 kB / 0.804 GB, free: 75.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.6632, allocations: 35.61 kB / 0.8041 GB, free: 75.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/0.664, allocations: 135.2 kB / 0.8042 GB, free: 75.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.6642, allocations: 95.14 kB / 0.8043 GB, free: 75.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/0.6643, allocations: 38.19 kB / 0.8043 GB, free: 75.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007212/0.665, allocations: 0.585 MB / 0.8049 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.665, allocations: 0 / 0.8049 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002614/0.6676, allocations: 0.7485 MB / 0.8056 GB, free: 74.63 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.6678, allocations: 148.2 kB / 0.8058 GB, free: 74.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003699/0.6716, allocations: 2.83 MB / 0.8085 GB, free: 73.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6716, allocations: 2.469 kB / 0.8085 GB, free: 73.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6726, allocations: 0.9106 MB / 0.8094 GB, free: 72.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.6742, allocations: 274 kB / 0.8097 GB, free: 72.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006431/0.6806, allocations: 6.008 MB / 0.8156 GB, free: 68.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.6822, allocations: 2.132 MB / 0.8176 GB, free: 67.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001629/0.6838, allocations: 0.7347 MB / 0.8184 GB, free: 66.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.6842, allocations: 85.84 kB / 0.8184 GB, free: 66.86 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.6842, allocations: 0 / 0.8184 GB, free: 66.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.02275/0.707, allocations: 16.15 MB / 0.8342 GB, free: 51.11 MB / 0.5606 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)