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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005163/0.005163, allocations: 97.62 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.001486/0.001486, allocations: 201 kB / 16.68 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 290.6 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 95.84 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1744, allocations: 86.97 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007718/0.1821, allocations: 5.205 MB / 0.771 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.1851, allocations: 1.683 MB / 0.7726 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.1854, allocations: 16 kB / 0.7727 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.187, allocations: 0.5212 MB / 0.7732 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000619/0.1877, allocations: 250.9 kB / 0.7734 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.1883, allocations: 231.5 kB / 0.7736 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3418/0.5301, allocations: 1.67 MB / 0.7753 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.5329, allocations: 2.52 MB / 0.7777 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.534, allocations: 0.7788 MB / 0.7785 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.5352, allocations: 0.9311 MB / 0.7794 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.5354, allocations: 188.9 kB / 0.7796 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.536, allocations: 317.7 kB / 0.7799 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006777/0.5367, allocations: 0.7345 MB / 0.7806 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006302/0.5373, allocations: 0.7143 MB / 0.7813 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.5394, allocations: 2.659 MB / 0.7839 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5394, allocations: 0.7969 kB / 0.7839 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5394, allocations: 0 / 0.7839 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.892e-05/0.5394, allocations: 4 kB / 0.7839 GB, free: 7.184 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.002177/0.5416, allocations: 1.396 MB / 0.7852 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.5417, allocations: 9.375 kB / 0.7853 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/0.5419, allocations: 202.9 kB / 0.7854 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.5433, allocations: 308.8 kB / 0.7857 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000946/0.5443, allocations: 0.722 MB / 0.7864 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.5443, allocations: 89.34 kB / 0.7865 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.5445, allocations: 126.6 kB / 0.7867 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.5475, allocations: 2.134 MB / 0.7887 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.5475, allocations: 0 / 0.7887 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.5477, allocations: 53.12 kB / 0.7888 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/0.5477, allocations: 57.3 kB / 0.7888 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.5502, allocations: 1.873 MB / 0.7907 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/0.5588, allocations: 7.683 MB / 0.7982 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.559, allocations: 139.8 kB / 0.7983 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.5591, allocations: 76.2 kB / 0.7984 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.5593, allocations: 89.83 kB / 0.7985 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5593, allocations: 36.38 kB / 0.7985 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 3.556e-06/0.5593, allocations: 4 kB / 0.7985 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006258/0.5599, allocations: 273.7 kB / 0.7988 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/0.56, allocations: 133.9 kB / 0.7989 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.5612, allocations: 0.9147 MB / 0.7998 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5613, allocations: 25.7 kB / 0.7998 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006423/0.5619, allocations: 0.7887 MB / 0.8006 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.562, allocations: 60.47 kB / 0.8006 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003826/0.5624, allocations: 274.4 kB / 0.8009 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.5626, allocations: 371.8 kB / 0.8013 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.5632, allocations: 425 kB / 0.8017 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.5645, allocations: 1.168 MB / 0.8028 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.5664, allocations: 1.592 MB / 0.8044 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.5664, allocations: 12.09 kB / 0.8044 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002211/0.5686, allocations: 1.547 MB / 0.8059 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.5687, allocations: 16.53 kB / 0.8059 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.5687, allocations: 27.59 kB / 0.8059 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.216e-05/0.5687, allocations: 34.38 kB / 0.806 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.5695, allocations: 281.4 kB / 0.8062 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.791e-05/0.5696, allocations: 52.64 kB / 0.8063 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.5706, allocations: 195.1 kB / 0.8065 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.5707, allocations: 74.8 kB / 0.8065 GB, free: 9.492 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.0008096/0.5715, allocations: 0.6457 MB / 0.8072 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.5717, allocations: 61.34 kB / 0.8072 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.5719, allocations: 136.1 kB / 0.8073 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.572, allocations: 0.875 kB / 0.8073 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.572, allocations: 5.094 kB / 0.8074 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.572, allocations: 1.062 kB / 0.8074 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.5732, allocations: 0.7759 MB / 0.8081 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5732, allocations: 0 / 0.8081 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.5733, allocations: 3.891 kB / 0.8081 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.5733, allocations: 7.203 kB / 0.8081 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.5733, allocations: 0 / 0.8081 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5733, allocations: 3.266 kB / 0.8081 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5733, allocations: 0 / 0.8081 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.5736, allocations: 378.1 kB / 0.8085 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.5737, allocations: 128.7 kB / 0.8086 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.5738, allocations: 7.047 kB / 0.8086 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.5741, allocations: 11.97 kB / 0.8086 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.5741, allocations: 2.766 kB / 0.8086 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.5742, allocations: 1.562 kB / 0.8086 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008474/0.575, allocations: 0.6486 MB / 0.8093 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.575, allocations: 0 / 0.8093 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001311/0.5763, allocations: 278.6 kB / 0.8095 GB, free: 7.848 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.0006231/0.577, allocations: 0.9123 MB / 0.8104 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.578, allocations: 0.7146 MB / 0.8111 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.578, allocations: 4 kB / 0.8111 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.5781, allocations: 16.61 kB / 0.8111 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006661/0.5788, allocations: 41.86 kB / 0.8112 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009911/0.5887, allocations: 8.106 MB / 0.8191 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.5898, allocations: 1.286 MB / 0.8204 GB, free: 184 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007016/0.5905, allocations: 364.5 kB / 0.8207 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.5909, allocations: 291.3 kB / 0.821 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/0.5909, allocations: 0 / 0.821 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.6273, allocations: 13.81 MB / 0.8345 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.794, allocations: 5.844 kB / 0.8345 GB, free: 9.289 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)