Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005501/0.005501, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001127/0.001127, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 287.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9739/0.9739, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 95.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1622, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006431/0.1687, allocations: 5.196 MB / 0.7715 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.1712, allocations: 1.687 MB / 0.7731 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1713, allocations: 16 kB / 0.7731 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.1726, allocations: 0.5251 MB / 0.7736 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.1731, allocations: 246.9 kB / 0.7739 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.1736, allocations: 239.5 kB / 0.7741 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3687/0.5423, allocations: 1.665 MB / 0.7757 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005097/0.5475, allocations: 2.527 MB / 0.7782 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.5492, allocations: 0.7724 MB / 0.7789 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.5512, allocations: 0.9319 MB / 0.7799 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004869/0.5517, allocations: 190 kB / 0.78 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.5528, allocations: 318.7 kB / 0.7803 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.554, allocations: 0.7352 MB / 0.7811 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5551, allocations: 0.7102 MB / 0.7818 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.5584, allocations: 2.663 MB / 0.7844 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5584, allocations: 0.7969 kB / 0.7844 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5584, allocations: 1.594 kB / 0.7844 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.554e-05/0.5585, allocations: 0 / 0.7844 GB, free: 7.793 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003512/0.562, allocations: 1.394 MB / 0.7857 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5621, allocations: 8.781 kB / 0.7857 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003021/0.5651, allocations: 308.3 kB / 0.786 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.5667, allocations: 0.7211 MB / 0.7867 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.891e-05/0.5668, allocations: 93.72 kB / 0.7868 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.5671, allocations: 121.6 kB / 0.7869 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005338/0.5725, allocations: 2.134 MB / 0.789 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.5726, allocations: 5.812 kB / 0.789 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.5728, allocations: 47.41 kB / 0.7891 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.607e-05/0.5729, allocations: 55.89 kB / 0.7891 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004569/0.5775, allocations: 1.871 MB / 0.7909 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.5879, allocations: 7.687 MB / 0.7985 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.5881, allocations: 136 kB / 0.7986 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.5882, allocations: 76.27 kB / 0.7987 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.5883, allocations: 87.25 kB / 0.7987 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.5883, allocations: 45.19 kB / 0.7988 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.5884, allocations: 0.8438 kB / 0.7988 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0005795/0.5889, allocations: 268.7 kB / 0.799 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.589, allocations: 130.2 kB / 0.7992 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.5903, allocations: 0.9141 MB / 0.8001 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.5903, allocations: 26.73 kB / 0.8001 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/0.5908, allocations: 0.7961 MB / 0.8009 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.5909, allocations: 57.05 kB / 0.8009 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/0.5913, allocations: 274.4 kB / 0.8012 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5914, allocations: 370.9 kB / 0.8015 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.592, allocations: 425.5 kB / 0.8019 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.5931, allocations: 1.167 MB / 0.8031 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.5948, allocations: 1.592 MB / 0.8046 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.629e-05/0.5949, allocations: 11.03 kB / 0.8046 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002741/0.5976, allocations: 1.545 MB / 0.8061 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.5977, allocations: 19.77 kB / 0.8062 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-05/0.5977, allocations: 27.28 kB / 0.8062 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.087e-05/0.5978, allocations: 35.16 kB / 0.8062 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.5986, allocations: 287.6 kB / 0.8065 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-05/0.5987, allocations: 57.45 kB / 0.8066 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008899/0.5996, allocations: 196.4 kB / 0.8067 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5997, allocations: 70.84 kB / 0.8068 GB, free: 10.15 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * 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.0008703/0.6006, allocations: 0.634 MB / 0.8074 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.6008, allocations: 72.31 kB / 0.8075 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.601, allocations: 131.3 kB / 0.8076 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.6011, allocations: 1.062 kB / 0.8076 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6011, allocations: 2.266 kB / 0.8076 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6011, allocations: 1.219 kB / 0.8076 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.6025, allocations: 0.7761 MB / 0.8084 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6025, allocations: 3.219 kB / 0.8084 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.6025, allocations: 7.5 kB / 0.8084 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6026, allocations: 0.75 kB / 0.8084 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.6026, allocations: 3.438 kB / 0.8084 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6026, allocations: 0 / 0.8084 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6026, allocations: 0.7031 kB / 0.8084 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.6029, allocations: 368.8 kB / 0.8087 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.603, allocations: 130.2 kB / 0.8089 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.6031, allocations: 7.359 kB / 0.8089 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.6034, allocations: 12.78 kB / 0.8089 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.6035, allocations: 14.02 kB / 0.8089 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.6035, allocations: 1.891 kB / 0.8089 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008306/0.6043, allocations: 0.6421 MB / 0.8095 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6043, allocations: 1.938 kB / 0.8095 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001197/0.6055, allocations: 282.1 kB / 0.8098 GB, free: 8.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001463/0.6057, allocations: 98.47 kB / 0.8099 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.6068, allocations: 0.718 MB / 0.8106 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6068, allocations: 2.625 kB / 0.8106 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-05/0.6068, allocations: 18.39 kB / 0.8106 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.6074, allocations: 49.34 kB / 0.8107 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.6103, allocations: 1.656 MB / 0.8123 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.6114, allocations: 1.288 MB / 0.8135 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007664/0.6122, allocations: 368.2 kB / 0.8139 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.6123, allocations: 46.12 kB / 0.8139 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.6123, allocations: 1.312 kB / 0.8139 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of Templates: time 0.01156/0.6238, allocations: 5.286 MB / 0.8191 GB, free: 4.145 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)