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.001033/0.001033, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001497/0.001497, allocations: 172.7 kB / 15.95 MB, free: 208 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.413/1.413, allocations: 223.2 MB / 240 MB, free: 5.301 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.569/2.569, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.7793, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005193/0.7846, allocations: 4.633 MB / 0.9584 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.787, allocations: 1.588 MB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.7872, allocations: 10.38 kB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.7875, allocations: 105 kB / 0.96 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.788, allocations: 199.4 kB / 0.9602 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.7884, allocations: 153.3 kB / 0.9604 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.7907, allocations: 1.974 MB / 0.9623 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005233/0.7959, allocations: 2.743 MB / 0.965 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.7974, allocations: 0.5279 MB / 0.9655 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.7987, allocations: 0.7805 MB / 0.9663 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.7988, allocations: 84.22 kB / 0.9663 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.7994, allocations: 159.6 kB / 0.9665 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006683/0.8, allocations: 0.6118 MB / 0.9671 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.8003, allocations: 247.2 kB / 0.9673 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.8026, allocations: 2.26 MB / 0.9695 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8026, allocations: 0 / 0.9695 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8026, allocations: 0.9062 kB / 0.9695 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.825e-05/0.8027, allocations: 0 / 0.9695 GB, free: 13.54 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.003238/0.8059, allocations: 1.148 MB / 0.9707 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.806, allocations: 9.188 kB / 0.9707 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004868/0.8065, allocations: 201.2 kB / 0.9709 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.8084, allocations: 314.2 kB / 0.9712 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.8097, allocations: 0.7012 MB / 0.9718 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/0.8098, allocations: 92.34 kB / 0.9719 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.81, allocations: 123.4 kB / 0.9721 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.8145, allocations: 2.13 MB / 0.9741 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.8145, allocations: 1.219 kB / 0.9741 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.8147, allocations: 54.33 kB / 0.9742 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.66e-05/0.8148, allocations: 53.41 kB / 0.9742 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.818, allocations: 1.862 MB / 0.9761 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009149/0.8271, allocations: 7.752 MB / 0.9836 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.8273, allocations: 122.4 kB / 0.9837 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.8274, allocations: 83.5 kB / 0.9838 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.8276, allocations: 93.05 kB / 0.9839 GB, free: 480 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.8276, allocations: 42.55 kB / 0.984 GB, free: 428 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.8276, allocations: 0 / 0.984 GB, free: 428 kB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005408/0.8281, allocations: 269.1 kB / 0.9842 GB, free: 152 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.8283, allocations: 136.5 kB / 0.9843 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.8294, allocations: 0.9044 MB / 0.9852 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.8294, allocations: 25.7 kB / 0.9852 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000505/0.8299, allocations: 0.7625 MB / 0.986 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.83, allocations: 55.52 kB / 0.986 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.83, allocations: 27.94 kB / 0.9861 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8302, allocations: 370.8 kB / 0.9864 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.8308, allocations: 418.3 kB / 0.9868 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.8319, allocations: 1.161 MB / 0.988 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/0.8328, allocations: 0.7285 MB / 0.9887 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.8328, allocations: 11.94 kB / 0.9887 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00234/0.8352, allocations: 1.532 MB / 0.9902 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.8352, allocations: 20 kB / 0.9902 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/0.8353, allocations: 24 kB / 0.9902 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.587e-05/0.8353, allocations: 40 kB / 0.9903 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000826/0.8362, allocations: 279.4 kB / 0.9905 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.158e-05/0.8362, allocations: 59.73 kB / 0.9906 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.8372, allocations: 190.5 kB / 0.9908 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.8373, allocations: 79.98 kB / 0.9908 GB, free: 8.91 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.0009513/0.8383, allocations: 0.6297 MB / 0.9915 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.8384, allocations: 59.34 kB / 0.9915 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.8387, allocations: 137.6 kB / 0.9916 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8387, allocations: 0 / 0.9916 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8387, allocations: 0 / 0.9916 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.8387, allocations: 7.938 kB / 0.9916 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.8398, allocations: 0.7667 MB / 0.9924 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8398, allocations: 3.938 kB / 0.9924 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.8399, allocations: 4 kB / 0.9924 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.8399, allocations: 0 / 0.9924 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.8399, allocations: 8 kB / 0.9924 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.8399, allocations: 256 / 0.9924 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8399, allocations: 0 / 0.9924 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.8402, allocations: 365.4 kB / 0.9928 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.8404, allocations: 160.4 kB / 0.9929 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.8405, allocations: 4 kB / 0.9929 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.8408, allocations: 15.91 kB / 0.9929 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.8408, allocations: 4 kB / 0.9929 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.8408, allocations: 4 kB / 0.9929 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007571/0.8416, allocations: 0.6395 MB / 0.9936 GB, free: 6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8416, allocations: 0 / 0.9936 GB, free: 6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001137/0.8427, allocations: 286.9 kB / 0.9938 GB, free: 5.719 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.0005511/0.8433, allocations: 0.8979 MB / 0.9947 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009799/0.8443, allocations: 0.7199 MB / 0.9954 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8443, allocations: 0 / 0.9954 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.8443, allocations: 19.92 kB / 0.9954 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.8448, allocations: 47.8 kB / 0.9955 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006552/0.8514, allocations: 4.99 MB / 1 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000961/0.8524, allocations: 1.292 MB / 1.002 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008029/0.8532, allocations: 365.3 kB / 1.002 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/0.8535, allocations: 291.3 kB / 1.002 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of SimCode: time 7.01e-07/0.8535, allocations: 0 / 1.002 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.8831, allocations: 13.21 MB / 1.015 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/0.8834, allocations: 210.9 kB / 1.015 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.715, allocations: 4 kB / 1.015 GB, free: 15.38 MB / 0.7794 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