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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 387.1 MB / 399.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 176.9 kB / 492.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.3 MB / 0.7871 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00084/0.0008401, allocations: 95.86 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.031e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2725, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8513/1.124, allocations: 168.1 MB / 1.377 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.124, allocations: 95.19 kB / 1.377 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07741/1.202, allocations: 37.69 MB / 1.414 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/1.202, allocations: 0 / 1.414 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.561e-05/1.202, allocations: 24 kB / 1.414 GB, free: 13.61 MB / 0.8386 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.002642/1.204, allocations: 1.147 MB / 1.415 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.204, allocations: 12.03 kB / 1.415 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004604/1.205, allocations: 206.2 kB / 1.415 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/1.206, allocations: 266.4 kB / 1.415 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/1.208, allocations: 0.7169 MB / 1.416 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/1.208, allocations: 90.56 kB / 1.416 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/1.208, allocations: 117.4 kB / 1.416 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/1.211, allocations: 1.909 MB / 1.418 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/1.212, allocations: 0 / 1.418 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/1.212, allocations: 50.38 kB / 1.418 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.589e-05/1.212, allocations: 57.06 kB / 1.418 GB, free: 10 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/1.214, allocations: 1.615 MB / 1.42 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008945/1.223, allocations: 7.705 MB / 1.427 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/1.224, allocations: 128.1 kB / 1.427 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.224, allocations: 79.08 kB / 1.427 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/1.224, allocations: 89.09 kB / 1.427 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/1.224, allocations: 37.75 kB / 1.427 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 3.266e-06/1.224, allocations: 3.938 kB / 1.427 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0005194/1.224, allocations: 218 kB / 1.428 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/1.224, allocations: 132.5 kB / 1.428 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/1.225, allocations: 0.822 MB / 1.429 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/1.226, allocations: 33.45 kB / 1.429 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/1.226, allocations: 0.7612 MB / 1.429 GB, free: 252 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/1.226, allocations: 51.53 kB / 1.429 GB, free: 212 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/1.226, allocations: 24.69 kB / 1.429 GB, free: 208 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002719/1.227, allocations: 373.5 kB / 1.43 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008506/1.227, allocations: 413.4 kB / 1.43 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/1.229, allocations: 1.157 MB / 1.431 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/1.23, allocations: 0.7253 MB / 1.432 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-05/1.23, allocations: 8 kB / 1.432 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002412/1.232, allocations: 1.515 MB / 1.433 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/1.233, allocations: 16 kB / 1.433 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.209e-05/1.233, allocations: 28 kB / 1.434 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.04e-05/1.233, allocations: 36 kB / 1.434 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/1.234, allocations: 285.6 kB / 1.434 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-05/1.234, allocations: 55.78 kB / 1.434 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009529/1.235, allocations: 196.8 kB / 1.434 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.235, allocations: 67.62 kB / 1.434 GB, free: 11.82 MB / 0.8542 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 () * 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.0001994/1.235, allocations: 200 kB / 1.434 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/1.235, allocations: 51.44 kB / 1.434 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/1.235, allocations: 135.8 kB / 1.434 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.235, allocations: 0 / 1.434 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.235, allocations: 8.062 kB / 1.434 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.235, allocations: 0 / 1.434 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/1.237, allocations: 0.7706 MB / 1.435 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.237, allocations: 7.953 kB / 1.435 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/1.237, allocations: 7.938 kB / 1.435 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.237, allocations: 0 / 1.435 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.237, allocations: 0 / 1.435 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/1.237, allocations: 8 kB / 1.435 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.237, allocations: 0 / 1.435 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/1.237, allocations: 387 kB / 1.436 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/1.238, allocations: 154.8 kB / 1.436 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/1.238, allocations: 7.672 kB / 1.436 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/1.238, allocations: 19.95 kB / 1.436 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/1.238, allocations: 7.938 kB / 1.436 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/1.238, allocations: 0 / 1.436 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007784/1.239, allocations: 0.6284 MB / 1.436 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/1.239, allocations: 0 / 1.436 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001132/1.24, allocations: 303.6 kB / 1.437 GB, free: 9.461 MB / 0.8542 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 () * 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.0007721/1.241, allocations: 1.073 MB / 1.438 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009872/1.242, allocations: 0.7065 MB / 1.438 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.242, allocations: 0 / 1.438 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/1.242, allocations: 19.56 kB / 1.438 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/1.242, allocations: 44 kB / 1.439 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/1.245, allocations: 1.637 MB / 1.44 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.247, allocations: 1.3 MB / 1.441 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008599/1.247, allocations: 365.2 kB / 1.442 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/1.248, allocations: 289.2 kB / 1.442 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/1.248, allocations: 0 / 1.442 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/1.282, allocations: 13.45 MB / 1.455 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/1.282, allocations: 190 kB / 1.455 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.461, allocations: 0 / 1.455 GB, free: 7.266 MB / 0.8698 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