Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_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.0009123/0.0009124, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009761/0.0009761, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.8388, allocations: 142.3 MB / 0.9536 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.004913/0.8438, allocations: 4.594 MB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.8461, allocations: 1.586 MB / 0.9596 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.8463, allocations: 10.94 kB / 0.9596 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.8466, allocations: 116.4 kB / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.8469, allocations: 97.45 kB / 0.9598 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.8473, allocations: 158.2 kB / 0.96 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006041/0.8479, allocations: 0.6566 MB / 0.9606 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003655/0.8516, allocations: 2.741 MB / 0.9633 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.8522, allocations: 427.9 kB / 0.9637 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.8528, allocations: 0.5047 MB / 0.9642 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.853, allocations: 84.81 kB / 0.9643 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.8534, allocations: 164.4 kB / 0.9644 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005438/0.854, allocations: 0.5527 MB / 0.965 GB, free: 312 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.8542, allocations: 247.2 kB / 0.9652 GB, free: 148 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.8563, allocations: 2.253 MB / 0.9674 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.8563, allocations: 0 / 0.9674 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8563, allocations: 1.125 kB / 0.9674 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.8563, allocations: 0 / 0.9674 GB, free: 14.5 MB / 0.7325 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.002231/0.8586, allocations: 1.151 MB / 0.9685 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8586, allocations: 8.844 kB / 0.9686 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003091/0.8589, allocations: 209.4 kB / 0.9688 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.8606, allocations: 328.1 kB / 0.9691 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.8621, allocations: 0.7052 MB / 0.9698 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.59e-05/0.8622, allocations: 96.92 kB / 0.9698 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.8624, allocations: 115.6 kB / 0.97 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.8661, allocations: 2.124 MB / 0.972 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.8662, allocations: 4 kB / 0.972 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.8663, allocations: 47.25 kB / 0.9721 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/0.8664, allocations: 57.25 kB / 0.9721 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.8695, allocations: 1.86 MB / 0.974 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009126/0.8786, allocations: 7.752 MB / 0.9815 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.8788, allocations: 130.4 kB / 0.9816 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.8789, allocations: 85.09 kB / 0.9817 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.879, allocations: 46.62 kB / 0.9818 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.879, allocations: 0 / 0.9818 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.000523/0.8795, allocations: 265 kB / 0.982 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.8796, allocations: 140.4 kB / 0.9822 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.8806, allocations: 0.9044 MB / 0.983 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.8807, allocations: 26.08 kB / 0.9831 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004744/0.8811, allocations: 0.7625 MB / 0.9838 GB, free: 240 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.8812, allocations: 59.52 kB / 0.9839 GB, free: 180 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.8813, allocations: 20 kB / 0.9839 GB, free: 160 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.8814, allocations: 370.8 kB / 0.9842 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/0.882, allocations: 418.3 kB / 0.9846 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.883, allocations: 1.161 MB / 0.9858 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008343/0.8838, allocations: 0.7207 MB / 0.9865 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.8838, allocations: 12 kB / 0.9865 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001956/0.8858, allocations: 1.532 MB / 0.988 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.8858, allocations: 16 kB / 0.988 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/0.8859, allocations: 28.16 kB / 0.988 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.96e-05/0.8859, allocations: 44 kB / 0.9881 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.8867, allocations: 287.4 kB / 0.9883 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.085e-05/0.8868, allocations: 59.69 kB / 0.9884 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/0.8876, allocations: 190.3 kB / 0.9886 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.8877, allocations: 68 kB / 0.9886 GB, free: 10.89 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000844/0.8885, allocations: 0.6356 MB / 0.9893 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.8887, allocations: 59.34 kB / 0.9893 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.8889, allocations: 133.6 kB / 0.9895 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8889, allocations: 0 / 0.9895 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.889, allocations: 4 kB / 0.9895 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.889, allocations: 11.88 kB / 0.9895 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.89, allocations: 0.7667 MB / 0.9902 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.89, allocations: 0 / 0.9902 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.89, allocations: 8 kB / 0.9902 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.89, allocations: 0 / 0.9902 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.89, allocations: 0 / 0.9902 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8901, allocations: 3.938 kB / 0.9902 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.8901, allocations: 7.984 kB / 0.9902 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.8903, allocations: 400.8 kB / 0.9906 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.8905, allocations: 148.4 kB / 0.9908 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.8906, allocations: 0 / 0.9908 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.8909, allocations: 19.92 kB / 0.9908 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.8909, allocations: 0 / 0.9908 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.8909, allocations: 4 kB / 0.9908 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007034/0.8916, allocations: 0.6395 MB / 0.9914 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8916, allocations: 7.938 kB / 0.9914 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001081/0.8927, allocations: 278.9 kB / 0.9917 GB, free: 7.66 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000599/0.8933, allocations: 1.066 MB / 0.9927 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009289/0.8943, allocations: 0.7121 MB / 0.9934 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.8943, allocations: 0 / 0.9934 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.508e-05/0.8943, allocations: 23.92 kB / 0.9934 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.8946, allocations: 35.75 kB / 0.9935 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.9077, allocations: 23.14 MB / 1.016 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009747/0.9088, allocations: 1.3 MB / 1.017 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007931/0.9096, allocations: 361.2 kB / 1.018 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.9099, allocations: 291.3 kB / 1.018 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of SimCode: time 9.21e-07/0.9099, allocations: 4 kB / 1.018 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.9354, allocations: 13.19 MB / 1.031 GB, free: 15.08 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.9357, allocations: 208.5 kB / 1.031 GB, free: 14.84 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.799, allocations: 6.891 kB / 1.031 GB, free: 14.84 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat does not exist to compare? outputFormat=mat