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.007767/0.007767, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001934/0.001934, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00243/0.00243, allocations: 287 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4126, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007335/0.42, allocations: 5.195 MB / 0.771 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.4228, allocations: 1.683 MB / 0.7726 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.423, allocations: 16 kB / 0.7726 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.4244, allocations: 0.5173 MB / 0.7731 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.4249, allocations: 246.9 kB / 0.7734 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.4254, allocations: 239.4 kB / 0.7736 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.4271, allocations: 1.676 MB / 0.7752 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003147/0.4302, allocations: 2.524 MB / 0.7777 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.4313, allocations: 0.7871 MB / 0.7785 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.4324, allocations: 0.9312 MB / 0.7794 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.4326, allocations: 188 kB / 0.7796 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.4332, allocations: 319.7 kB / 0.7799 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006996/0.4339, allocations: 0.737 MB / 0.7806 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007258/0.4347, allocations: 0.7045 MB / 0.7813 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.4371, allocations: 2.661 MB / 0.7839 GB, free: 1.383 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4371, allocations: 0 / 0.7839 GB, free: 1.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4372, allocations: 0 / 0.7839 GB, free: 1.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.4372, allocations: 4 kB / 0.7839 GB, free: 1.379 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.002403/0.4396, allocations: 1.389 MB / 0.7852 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4396, allocations: 19.97 kB / 0.7853 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002718/0.4399, allocations: 210.3 kB / 0.7855 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.4415, allocations: 303.9 kB / 0.7858 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4425, allocations: 0.7215 MB / 0.7865 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.4426, allocations: 94.86 kB / 0.7865 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.4428, allocations: 116.4 kB / 0.7867 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/0.4462, allocations: 2.141 MB / 0.7887 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.4462, allocations: 3.938 kB / 0.7888 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.4464, allocations: 48 kB / 0.7888 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.261e-05/0.4465, allocations: 58.06 kB / 0.7889 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.4494, allocations: 1.87 MB / 0.7907 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009009/0.4584, allocations: 7.68 MB / 0.7982 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.4586, allocations: 130.3 kB / 0.7983 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4587, allocations: 79.5 kB / 0.7984 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.4589, allocations: 85.09 kB / 0.7985 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4589, allocations: 38.56 kB / 0.7985 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 6.743e-06/0.4589, allocations: 0 / 0.7985 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0005417/0.4595, allocations: 277 kB / 0.7988 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.4596, allocations: 136.5 kB / 0.7989 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4607, allocations: 0.9124 MB / 0.7998 GB, free: 208 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.4608, allocations: 25.7 kB / 0.7998 GB, free: 176 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/0.4614, allocations: 0.7933 MB / 0.8006 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.4615, allocations: 59.66 kB / 0.8006 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.4619, allocations: 271.1 kB / 0.8009 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.4621, allocations: 370.8 kB / 0.8012 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/0.4627, allocations: 426.3 kB / 0.8017 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.4639, allocations: 1.169 MB / 0.8028 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.4656, allocations: 1.602 MB / 0.8044 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.4656, allocations: 8 kB / 0.8044 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002165/0.4678, allocations: 1.543 MB / 0.8059 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.4678, allocations: 16 kB / 0.8059 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.4678, allocations: 28 kB / 0.8059 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-05/0.4679, allocations: 36 kB / 0.806 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008116/0.4687, allocations: 283.4 kB / 0.8062 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.535e-05/0.4688, allocations: 51.84 kB / 0.8063 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000764/0.4695, allocations: 190.9 kB / 0.8065 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.705e-05/0.4696, allocations: 71.94 kB / 0.8065 GB, free: 8.523 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.000768/0.4704, allocations: 0.6452 MB / 0.8072 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.4706, allocations: 63.62 kB / 0.8072 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.4708, allocations: 129.7 kB / 0.8073 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4708, allocations: 0 / 0.8073 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.4709, allocations: 4 kB / 0.8073 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4709, allocations: 4 kB / 0.8073 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.4719, allocations: 0.7705 MB / 0.8081 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.4719, allocations: 4.25 kB / 0.8081 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.472, allocations: 8 kB / 0.8081 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.472, allocations: 0 / 0.8081 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.472, allocations: 0 / 0.8081 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.472, allocations: 7.938 kB / 0.8081 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.472, allocations: 0 / 0.8081 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.4723, allocations: 373.7 kB / 0.8085 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.4724, allocations: 124.8 kB / 0.8086 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.4725, allocations: 11.89 kB / 0.8086 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.4728, allocations: 11.97 kB / 0.8086 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.4728, allocations: 8 kB / 0.8086 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.4728, allocations: 0 / 0.8086 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007677/0.4736, allocations: 0.6395 MB / 0.8092 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4736, allocations: 8 kB / 0.8093 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009747/0.4746, allocations: 279.2 kB / 0.8095 GB, free: 5.328 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.0006576/0.4752, allocations: 0.9098 MB / 0.8104 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.4763, allocations: 0.7166 MB / 0.8111 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4763, allocations: 4 kB / 0.8111 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.4764, allocations: 19.92 kB / 0.8111 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.4769, allocations: 41.42 kB / 0.8112 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009621/0.4865, allocations: 8.11 MB / 0.8191 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.4877, allocations: 1.288 MB / 0.8203 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007339/0.4884, allocations: 353.2 kB / 0.8207 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.4888, allocations: 291.3 kB / 0.821 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.4888, allocations: 0 / 0.821 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.5265, allocations: 13.8 MB / 0.8344 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.766, allocations: 4.438 kB / 0.8344 GB, free: 11.11 MB / 0.6075 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)