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.007873/0.007873, allocations: 97.27 kB / 15.73 MB, free: 6.051 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.001763/0.001763, allocations: 194.8 kB / 16.67 MB, free: 5.977 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002545/0.002545, allocations: 290.3 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5074 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 107.8 kB / 0.6943 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4616, allocations: 89.14 MB / 0.7813 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.008417/0.4701, allocations: 5.203 MB / 0.7864 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003291/0.4735, allocations: 1.682 MB / 0.7881 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.4738, allocations: 18.28 kB / 0.7881 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.4753, allocations: 0.5097 MB / 0.7886 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.476, allocations: 250.9 kB / 0.7888 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.4767, allocations: 234.5 kB / 0.789 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002199/0.4789, allocations: 1.679 MB / 0.7907 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/0.4819, allocations: 2.529 MB / 0.7931 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.4832, allocations: 0.7809 MB / 0.7939 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.4846, allocations: 0.9335 MB / 0.7948 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.4849, allocations: 189.4 kB / 0.795 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006931/0.4856, allocations: 315.5 kB / 0.7953 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008729/0.4865, allocations: 0.7435 MB / 0.796 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009132/0.4874, allocations: 0.7018 MB / 0.7967 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.4903, allocations: 2.66 MB / 0.7993 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4903, allocations: 3.938 kB / 0.7993 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4903, allocations: 0 / 0.7993 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.549e-05/0.4904, allocations: 0.9688 kB / 0.7993 GB, free: 3.895 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.002991/0.4934, allocations: 1.399 MB / 0.8007 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4934, allocations: 9.438 kB / 0.8007 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003152/0.4938, allocations: 210.7 kB / 0.8009 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.4954, allocations: 312.2 kB / 0.8012 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.4966, allocations: 0.7202 MB / 0.8019 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-05/0.4967, allocations: 91.94 kB / 0.802 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.4969, allocations: 121.6 kB / 0.8021 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/0.5006, allocations: 2.136 MB / 0.8042 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.5007, allocations: 3.984 kB / 0.8042 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.5008, allocations: 51 kB / 0.8042 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.46e-05/0.5009, allocations: 54.19 kB / 0.8043 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.504, allocations: 1.869 MB / 0.8061 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.5148, allocations: 7.689 MB / 0.8136 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.515, allocations: 120.5 kB / 0.8137 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.5151, allocations: 87.59 kB / 0.8138 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.5153, allocations: 88.56 kB / 0.8139 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.5153, allocations: 40.05 kB / 0.8139 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 2.575e-06/0.5153, allocations: 0 / 0.8139 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006478/0.516, allocations: 271.2 kB / 0.8142 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.5161, allocations: 138.5 kB / 0.8143 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.5173, allocations: 0.9098 MB / 0.8152 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.5174, allocations: 26.95 kB / 0.8152 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/0.518, allocations: 0.792 MB / 0.816 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.5181, allocations: 60.53 kB / 0.8161 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003543/0.5184, allocations: 271.2 kB / 0.8163 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5186, allocations: 371.4 kB / 0.8167 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/0.5192, allocations: 435.2 kB / 0.8171 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.5205, allocations: 1.162 MB / 0.8182 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.5222, allocations: 1.599 MB / 0.8198 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.5223, allocations: 8 kB / 0.8198 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002206/0.5245, allocations: 1.541 MB / 0.8213 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.5245, allocations: 26.02 kB / 0.8213 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.5246, allocations: 26.88 kB / 0.8214 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.613e-05/0.5246, allocations: 35.28 kB / 0.8214 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.5254, allocations: 281.7 kB / 0.8217 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.856e-05/0.5255, allocations: 54.75 kB / 0.8217 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/0.5263, allocations: 190.8 kB / 0.8219 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/0.5264, allocations: 73.75 kB / 0.822 GB, free: 2.684 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.0008747/0.5273, allocations: 0.6441 MB / 0.8226 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.5274, allocations: 61.28 kB / 0.8227 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.5277, allocations: 131.7 kB / 0.8228 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5277, allocations: 1.062 kB / 0.8228 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5277, allocations: 1.188 kB / 0.8228 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5277, allocations: 0.9688 kB / 0.8228 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.5288, allocations: 0.7762 MB / 0.8235 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5288, allocations: 1.125 kB / 0.8235 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.5289, allocations: 4.375 kB / 0.8236 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5289, allocations: 1.125 kB / 0.8236 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.5289, allocations: 1.094 kB / 0.8236 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5289, allocations: 1.125 kB / 0.8236 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5289, allocations: 1.062 kB / 0.8236 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.5292, allocations: 377.7 kB / 0.8239 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.5293, allocations: 126.4 kB / 0.824 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-05/0.5294, allocations: 14.39 kB / 0.824 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.5297, allocations: 21.84 kB / 0.8241 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.5297, allocations: 2.188 kB / 0.8241 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.5297, allocations: 1.062 kB / 0.8241 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007645/0.5305, allocations: 0.6404 MB / 0.8247 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5305, allocations: 1.25 kB / 0.8247 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001057/0.5316, allocations: 286.7 kB / 0.825 GB, free: 0.6523 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.0006432/0.5322, allocations: 0.9066 MB / 0.8259 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.5332, allocations: 0.7163 MB / 0.8266 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5332, allocations: 4.062 kB / 0.8266 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.5333, allocations: 23.92 kB / 0.8266 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.5338, allocations: 35 kB / 0.8266 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009695/0.5435, allocations: 8.11 MB / 0.8345 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.5446, allocations: 1.28 MB / 0.8358 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007043/0.5453, allocations: 365.3 kB / 0.8361 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.5457, allocations: 287.3 kB / 0.8364 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.5457, allocations: 4 kB / 0.8364 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.5827, allocations: 13.8 MB / 0.8499 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.899, allocations: 11.98 kB / 0.8499 GB, free: 6.676 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)