Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001112, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 198.1 kB / 16.53 MB, free: 6.672 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 290.4 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9205/0.9205, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 91.27 kB / 0.5952 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1407, allocations: 86.99 MB / 0.6802 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0395/0.1803, allocations: 37.24 MB / 0.7166 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02037/0.2007, allocations: 13.54 MB / 0.7298 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003047/0.2038, allocations: 115.6 kB / 0.7299 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00552/0.2093, allocations: 2.285 MB / 0.7321 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.2129, allocations: 1.4 MB / 0.7335 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00804/0.221, allocations: 3.519 MB / 0.7369 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006653/0.2277, allocations: 6.387 MB / 0.7432 GB, free: 32 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01198/0.2396, allocations: 10.03 MB / 0.753 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/0.2432, allocations: 2.72 MB / 0.7556 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004083/0.2473, allocations: 3.198 MB / 0.7587 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.2486, allocations: 0.6211 MB / 0.7593 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.2511, allocations: 1.237 MB / 0.7606 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002668/0.2538, allocations: 2.476 MB / 0.763 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004004/0.2578, allocations: 2.545 MB / 0.7655 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2806/0.5385, allocations: 9.081 MB / 0.7743 GB, free: 37.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5385, allocations: 0.6875 kB / 0.7743 GB, free: 37.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5385, allocations: 0.5625 kB / 0.7743 GB, free: 37.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002456/0.5387, allocations: 0 / 0.7743 GB, free: 37.33 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.008416/0.5472, allocations: 4.292 MB / 0.7785 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.5472, allocations: 11.06 kB / 0.7785 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/0.5511, allocations: 0.9471 MB / 0.7795 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.5548, allocations: 2.178 MB / 0.7816 GB, free: 35.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.555, allocations: 324.2 kB / 0.7819 GB, free: 35.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006835/0.5557, allocations: 432.5 kB / 0.7823 GB, free: 35.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.5707, allocations: 7.364 MB / 0.7895 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.5709, allocations: 18.98 kB / 0.7895 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007031/0.5716, allocations: 185.6 kB / 0.7897 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004302/0.572, allocations: 287.2 kB / 0.79 GB, free: 34.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.5865, allocations: 5.959 MB / 0.7958 GB, free: 34.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03811/0.6247, allocations: 32.62 MB / 0.8276 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.6271, allocations: 2.112 MB / 0.8297 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.6283, allocations: 1.235 MB / 0.8309 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.6284, allocations: 104.2 kB / 0.831 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.6285, allocations: 44.53 kB / 0.8311 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=98): time 2.575e-06/0.6285, allocations: 0 / 0.8311 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101): time 0.005643/0.6341, allocations: 5.236 MB / 0.8362 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.6342, allocations: 142.3 kB / 0.8363 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.6355, allocations: 1.46 MB / 0.8377 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/0.6356, allocations: 46.73 kB / 0.8378 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/0.6362, allocations: 1.857 MB / 0.8396 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.6364, allocations: 372.2 kB / 0.8399 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005219/0.6369, allocations: 463.7 kB / 0.8404 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.067e-05/0.6369, allocations: 305.1 kB / 0.8407 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.6381, allocations: 1.114 MB / 0.8418 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.6396, allocations: 2.188 MB / 0.8439 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/0.6427, allocations: 3.403 MB / 0.8472 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.6427, allocations: 7.812 kB / 0.8472 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004179/0.6469, allocations: 3.316 MB / 0.8505 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.6469, allocations: 18.41 kB / 0.8505 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.647, allocations: 36.28 kB / 0.8505 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.731e-05/0.647, allocations: 47.03 kB / 0.8506 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.6489, allocations: 0.6149 MB / 0.8512 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.182e-05/0.649, allocations: 80.5 kB / 0.8512 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.6506, allocations: 308.9 kB / 0.8515 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.6508, allocations: 119 kB / 0.8517 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002883/0.6537, allocations: 2.399 MB / 0.854 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001776/0.6555, allocations: 2.016 MB / 0.856 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003268/0.6587, allocations: 3.029 MB / 0.8589 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.68e-05/0.6588, allocations: 8 kB / 0.8589 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.0043/0.6631, allocations: 2.921 MB / 0.8618 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.6631, allocations: 20.94 kB / 0.8618 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.722e-05/0.6632, allocations: 39.72 kB / 0.8618 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.173e-05/0.6632, allocations: 48 kB / 0.8619 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.6649, allocations: 0.5542 MB / 0.8624 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.097e-05/0.6649, allocations: 72.84 kB / 0.8625 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.6667, allocations: 251 kB / 0.8627 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.6669, allocations: 112 kB / 0.8628 GB, free: 2.711 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0005067/0.6674, allocations: 340.1 kB / 0.8632 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.6677, allocations: 154.1 kB / 0.8633 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/0.6709, allocations: 2.219 MB / 0.8655 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.6709, allocations: 12 kB / 0.8655 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.6709, allocations: 9.812 kB / 0.8655 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.6709, allocations: 3.984 kB / 0.8655 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.6858, allocations: 10.98 MB / 0.8762 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.6858, allocations: 12 kB / 0.8762 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.6873, allocations: 384.1 kB / 0.8766 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.855e-05/0.6873, allocations: 16.72 kB / 0.8766 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.6874, allocations: 36 kB / 0.8767 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.646e-05/0.6874, allocations: 27.27 kB / 0.8767 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/0.6874, allocations: 23.41 kB / 0.8767 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/0.6907, allocations: 2.75 MB / 0.8794 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007673/0.6915, allocations: 450.8 kB / 0.8798 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.6917, allocations: 39.98 kB / 0.8799 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.6928, allocations: 167.7 kB / 0.88 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.693, allocations: 95.66 kB / 0.8801 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.6931, allocations: 40 kB / 0.8801 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001278/0.6944, allocations: 0.9664 MB / 0.8811 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6944, allocations: 0 / 0.8811 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003615/0.698, allocations: 1.129 MB / 0.8822 GB, free: 14.63 MB / 0.6075 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 (104): * Single equations (assignments): 104 * 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.0002211/0.6982, allocations: 161.5 kB / 0.8823 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005666/0.7039, allocations: 4.233 MB / 0.8865 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.7039, allocations: 7.562 kB / 0.8865 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.7052, allocations: 1.056 MB / 0.8875 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.7074, allocations: 452.6 kB / 0.8879 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.7175, allocations: 7.076 MB / 0.8949 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003/0.7205, allocations: 2.869 MB / 0.8977 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002876/0.7234, allocations: 1.206 MB / 0.8988 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/0.7239, allocations: 127.4 kB / 0.899 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.7239, allocations: 3.188 kB / 0.899 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.04219/0.7661, allocations: 24.55 MB / 0.9229 GB, free: 5.406 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)