Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_8_Buildings_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.001126/0.001125, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 200.6 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 70.25 kB / 0.6718 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2257, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006793/0.2326, allocations: 5.213 MB / 0.7887 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.2352, allocations: 1.731 MB / 0.7904 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.2354, allocations: 12 kB / 0.7904 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.2367, allocations: 0.529 MB / 0.791 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.2371, allocations: 243 kB / 0.7912 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.2375, allocations: 231.5 kB / 0.7914 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.239, allocations: 1.676 MB / 0.793 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.2415, allocations: 2.552 MB / 0.7955 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009299/0.2424, allocations: 0.7716 MB / 0.7963 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.2434, allocations: 0.9312 MB / 0.7972 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.2436, allocations: 192 kB / 0.7974 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/0.2441, allocations: 315.7 kB / 0.7977 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000603/0.2447, allocations: 0.737 MB / 0.7984 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006673/0.2454, allocations: 0.7123 MB / 0.7991 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.2476, allocations: 2.645 MB / 0.8017 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2476, allocations: 0 / 0.8017 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2476, allocations: 4 kB / 0.8017 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.636e-05/0.2477, allocations: 0 / 0.8017 GB, free: 10.7 MB / 0.6231 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.002278/0.25, allocations: 1.382 MB / 0.803 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.25, allocations: 8.031 kB / 0.803 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.2503, allocations: 206.3 kB / 0.8032 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.2518, allocations: 303.3 kB / 0.8035 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.2529, allocations: 0.7175 MB / 0.8042 GB, free: 8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.253, allocations: 98.81 kB / 0.8043 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.2531, allocations: 116.4 kB / 0.8044 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.256, allocations: 2.141 MB / 0.8065 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.256, allocations: 0 / 0.8065 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.2562, allocations: 44 kB / 0.8066 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.2562, allocations: 58.06 kB / 0.8066 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.2588, allocations: 1.874 MB / 0.8085 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008041/0.2668, allocations: 7.662 MB / 0.8159 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.267, allocations: 130.3 kB / 0.8161 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.2671, allocations: 79.45 kB / 0.8161 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.2672, allocations: 89.09 kB / 0.8162 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.2672, allocations: 42.56 kB / 0.8163 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 2.986e-06/0.2673, allocations: 7.984 kB / 0.8163 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0004725/0.2677, allocations: 268.8 kB / 0.8165 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.2678, allocations: 128.5 kB / 0.8166 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009381/0.2687, allocations: 0.916 MB / 0.8175 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.2688, allocations: 25.7 kB / 0.8176 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.2692, allocations: 0.7625 MB / 0.8183 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.2692, allocations: 55.91 kB / 0.8184 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.2696, allocations: 266.5 kB / 0.8186 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2697, allocations: 370.8 kB / 0.819 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.2702, allocations: 426.3 kB / 0.8194 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009473/0.2712, allocations: 1.173 MB / 0.8205 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.2727, allocations: 1.594 MB / 0.8221 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.2727, allocations: 8 kB / 0.8221 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002006/0.2747, allocations: 1.548 MB / 0.8236 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.2748, allocations: 16 kB / 0.8236 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/0.2748, allocations: 24 kB / 0.8236 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.465e-05/0.2749, allocations: 36 kB / 0.8237 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/0.2756, allocations: 283.5 kB / 0.8239 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.011e-05/0.2757, allocations: 51.78 kB / 0.824 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007234/0.2764, allocations: 194.6 kB / 0.8242 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.2765, allocations: 72 kB / 0.8242 GB, free: 1.926 MB / 0.6387 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.0006738/0.2772, allocations: 0.6373 MB / 0.8249 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.2773, allocations: 63.33 kB / 0.8249 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.2776, allocations: 129.7 kB / 0.8251 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2776, allocations: 4 kB / 0.8251 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2776, allocations: 0 / 0.8251 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2776, allocations: 4 kB / 0.8251 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.2785, allocations: 0.7783 MB / 0.8258 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2785, allocations: 0 / 0.8258 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.2786, allocations: 4 kB / 0.8258 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2786, allocations: 8.188 kB / 0.8258 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2786, allocations: 0 / 0.8258 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2786, allocations: 4 kB / 0.8258 GB, free: 216 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2786, allocations: 0 / 0.8258 GB, free: 216 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.2788, allocations: 373.3 kB / 0.8262 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.279, allocations: 132.4 kB / 0.8263 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.279, allocations: 3.938 kB / 0.8263 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.2793, allocations: 15.97 kB / 0.8263 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.2793, allocations: 0 / 0.8263 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2793, allocations: 4 kB / 0.8263 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006799/0.28, allocations: 0.6473 MB / 0.827 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.28, allocations: 0 / 0.827 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000953/0.281, allocations: 279 kB / 0.8272 GB, free: 14.74 MB / 0.6544 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.0005241/0.2815, allocations: 0.9017 MB / 0.8281 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008429/0.2824, allocations: 0.7201 MB / 0.8288 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2824, allocations: 0 / 0.8288 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.2824, allocations: 19.92 kB / 0.8288 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.2829, allocations: 43.94 kB / 0.8289 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009082/0.292, allocations: 8.085 MB / 0.8368 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/0.2929, allocations: 1.284 MB / 0.838 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006889/0.2936, allocations: 365.3 kB / 0.8384 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.2939, allocations: 291.3 kB / 0.8387 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.2939, allocations: 0 / 0.8387 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.3215, allocations: 13.4 MB / 0.8517 GB, free: 4.902 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.189, allocations: 12.2 kB / 0.8518 GB, free: 4.898 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)