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.001338/0.001338, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001395/0.001395, allocations: 187 kB / 17.34 MB, free: 5.742 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002195, allocations: 300 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9695/0.9695, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 99.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5196, allocations: 86.98 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006794/0.5264, allocations: 5.186 MB / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.5293, allocations: 1.691 MB / 0.7738 GB, free: 13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003299/0.5297, allocations: 16 kB / 0.7738 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.5313, allocations: 0.5212 MB / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006626/0.532, allocations: 250.9 kB / 0.7745 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.5326, allocations: 227.5 kB / 0.7747 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.5342, allocations: 1.688 MB / 0.7764 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002545/0.5368, allocations: 2.524 MB / 0.7789 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.5379, allocations: 0.7755 MB / 0.7796 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.539, allocations: 0.9311 MB / 0.7805 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.5393, allocations: 192 kB / 0.7807 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006183/0.5399, allocations: 315.8 kB / 0.781 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006457/0.5405, allocations: 0.7487 MB / 0.7817 GB, free: 4.793 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006554/0.5412, allocations: 0.6967 MB / 0.7824 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.5434, allocations: 2.659 MB / 0.785 GB, free: 1.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5434, allocations: 0 / 0.785 GB, free: 1.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5434, allocations: 0 / 0.785 GB, free: 1.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.026e-05/0.5435, allocations: 4 kB / 0.785 GB, free: 1.426 MB / 0.545 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.002398/0.5459, allocations: 1.375 MB / 0.7864 GB, free: 0 / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.5459, allocations: 8.078 kB / 0.7864 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.5474, allocations: 299.3 kB / 0.7867 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.5484, allocations: 0.7199 MB / 0.7874 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.5485, allocations: 94.86 kB / 0.7875 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.5487, allocations: 124.3 kB / 0.7876 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/0.552, allocations: 2.13 MB / 0.7896 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.552, allocations: 0 / 0.7896 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.5522, allocations: 59.92 kB / 0.7897 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.525e-05/0.5523, allocations: 58.06 kB / 0.7898 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.5553, allocations: 1.873 MB / 0.7916 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009677/0.565, allocations: 7.662 MB / 0.7991 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.5651, allocations: 130.3 kB / 0.7992 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.5653, allocations: 79.45 kB / 0.7993 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.5654, allocations: 97.09 kB / 0.7994 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.5654, allocations: 30.56 kB / 0.7994 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.5654, allocations: 0 / 0.7994 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0005322/0.566, allocations: 272.8 kB / 0.7997 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5661, allocations: 136.9 kB / 0.7998 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5672, allocations: 0.9121 MB / 0.8007 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.5672, allocations: 29.7 kB / 0.8007 GB, free: 488 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/0.5677, allocations: 0.7588 MB / 0.8014 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.5678, allocations: 63.45 kB / 0.8015 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003446/0.5681, allocations: 262.5 kB / 0.8018 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5683, allocations: 370.8 kB / 0.8021 GB, free: 15 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.5689, allocations: 426.3 kB / 0.8025 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.57, allocations: 1.165 MB / 0.8037 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.5716, allocations: 1.597 MB / 0.8052 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.5716, allocations: 11.94 kB / 0.8052 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002125/0.5737, allocations: 1.546 MB / 0.8067 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.5738, allocations: 16 kB / 0.8068 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/0.5738, allocations: 28 kB / 0.8068 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.246e-05/0.5739, allocations: 36.81 kB / 0.8068 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.5748, allocations: 279.5 kB / 0.8071 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.454e-05/0.5749, allocations: 55.8 kB / 0.8071 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/0.5757, allocations: 186.3 kB / 0.8073 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.5758, allocations: 79.98 kB / 0.8074 GB, free: 8.855 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.0008555/0.5767, allocations: 0.6335 MB / 0.808 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.5769, allocations: 59.34 kB / 0.8081 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.5771, allocations: 133.7 kB / 0.8082 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.5771, allocations: 4 kB / 0.8082 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5772, allocations: 0 / 0.8082 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5772, allocations: 0 / 0.8082 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.5783, allocations: 0.7744 MB / 0.8089 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5783, allocations: 0 / 0.8089 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.5783, allocations: 4 kB / 0.809 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5783, allocations: 0 / 0.809 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.5783, allocations: 7.984 kB / 0.809 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5784, allocations: 4.25 kB / 0.809 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5784, allocations: 0 / 0.809 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.5786, allocations: 377.2 kB / 0.8093 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.5788, allocations: 128.5 kB / 0.8094 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.5788, allocations: 11.91 kB / 0.8095 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.5791, allocations: 15.98 kB / 0.8095 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.5791, allocations: 0 / 0.8095 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.5791, allocations: 0 / 0.8095 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007486/0.5799, allocations: 0.6434 MB / 0.8101 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5799, allocations: 3.938 kB / 0.8101 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001076/0.581, allocations: 279 kB / 0.8104 GB, free: 5.672 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.0001779/0.5812, allocations: 103.2 kB / 0.8105 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009857/0.5822, allocations: 0.7167 MB / 0.8112 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5822, allocations: 8.062 kB / 0.8112 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-05/0.5822, allocations: 15.98 kB / 0.8112 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.5827, allocations: 42.88 kB / 0.8112 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.5853, allocations: 1.855 MB / 0.813 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009626/0.5863, allocations: 1.308 MB / 0.8143 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5865, allocations: 59.42 kB / 0.8144 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.5865, allocations: 0 / 0.8144 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01794/0.6044, allocations: 12.29 MB / 0.8264 GB, free: 5.227 MB / 0.5919 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)