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.335/2.335, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001396/0.001396, allocations: 172.9 kB / 487.4 MB, free: 5.039 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.505/1.505, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 95.84 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.877e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2536, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9274/1.181, allocations: 167.4 MB / 1.37 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.181, allocations: 98.34 kB / 1.37 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07528/1.257, allocations: 37.55 MB / 1.406 GB, free: 20.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.257, allocations: 0 / 1.406 GB, free: 20.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.08e-05/1.257, allocations: 19 kB / 1.406 GB, free: 20.13 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.001869/1.259, allocations: 1.154 MB / 1.407 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.259, allocations: 12.5 kB / 1.407 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.26, allocations: 266.5 kB / 1.408 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009818/1.261, allocations: 0.7192 MB / 1.408 GB, free: 18.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/1.261, allocations: 40 kB / 1.408 GB, free: 18.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/1.261, allocations: 68 kB / 1.409 GB, free: 18.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002026/1.263, allocations: 1.467 MB / 1.41 GB, free: 17.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/1.266, allocations: 1.721 MB / 1.412 GB, free: 16.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/1.266, allocations: 4 kB / 1.412 GB, free: 16.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/1.266, allocations: 0 / 1.412 GB, free: 16.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.98e-05/1.266, allocations: 57.94 kB / 1.412 GB, free: 16.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009438/1.276, allocations: 7.367 MB / 1.419 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/1.276, allocations: 116 kB / 1.419 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/1.276, allocations: 80.77 kB / 1.419 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/1.276, allocations: 92.38 kB / 1.419 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/1.276, allocations: 37.81 kB / 1.419 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.385e-06/1.276, allocations: 0 / 1.419 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0006345/1.277, allocations: 252.6 kB / 1.419 GB, free: 9.086 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/1.277, allocations: 136.5 kB / 1.42 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/1.278, allocations: 0.8029 MB / 1.42 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/1.278, allocations: 25.7 kB / 1.42 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/1.278, allocations: 0.7615 MB / 1.421 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/1.278, allocations: 51.16 kB / 1.421 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/1.278, allocations: 0 / 1.421 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.279, allocations: 373.6 kB / 1.422 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/1.279, allocations: 397.1 kB / 1.422 GB, free: 6.922 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/1.28, allocations: 1.114 MB / 1.423 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.281, allocations: 0.7872 MB / 1.424 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/1.281, allocations: 8 kB / 1.424 GB, free: 5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002039/1.283, allocations: 1.445 MB / 1.425 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.283, allocations: 16 kB / 1.425 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/1.283, allocations: 28 kB / 1.425 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.237e-05/1.283, allocations: 36 kB / 1.425 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/1.284, allocations: 284.9 kB / 1.426 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.455e-05/1.284, allocations: 51.8 kB / 1.426 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/1.285, allocations: 166.6 kB / 1.426 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/1.285, allocations: 76.23 kB / 1.426 GB, free: 3.191 MB / 0.8386 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.0001365/1.285, allocations: 169.7 kB / 1.426 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004508/1.285, allocations: 258.9 kB / 1.426 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/1.286, allocations: 55.34 kB / 1.426 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/1.286, allocations: 141.6 kB / 1.426 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.286, allocations: 4 kB / 1.426 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.286, allocations: 0 / 1.426 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.286, allocations: 0 / 1.426 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/1.287, allocations: 0.4984 MB / 1.427 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.287, allocations: 0 / 1.427 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/1.287, allocations: 7.953 kB / 1.427 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.287, allocations: 0 / 1.427 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/1.287, allocations: 4 kB / 1.427 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.287, allocations: 7.938 kB / 1.427 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.287, allocations: 3.984 kB / 1.427 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/1.287, allocations: 389.5 kB / 1.427 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/1.287, allocations: 158 kB / 1.427 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/1.287, allocations: 3.938 kB / 1.427 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/1.287, allocations: 11.98 kB / 1.427 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/1.287, allocations: 3.984 kB / 1.427 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/1.287, allocations: 4 kB / 1.427 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000616/1.288, allocations: 0.5966 MB / 1.428 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.288, allocations: 4 kB / 1.428 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001004/1.289, allocations: 271 kB / 1.428 GB, free: 0.8672 MB / 0.8386 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.0005703/1.29, allocations: 1.072 MB / 1.429 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007984/1.291, allocations: 0.6512 MB / 1.43 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.291, allocations: 4.062 kB / 1.43 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/1.291, allocations: 19.8 kB / 1.43 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/1.291, allocations: 40.77 kB / 1.43 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/1.294, allocations: 1.609 MB / 1.432 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.295, allocations: 1.292 MB / 1.433 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001052/1.296, allocations: 365.2 kB / 1.433 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/1.296, allocations: 294.5 kB / 1.434 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of SimCode: time 8.82e-07/1.296, allocations: 0 / 1.434 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/1.353, allocations: 12.94 MB / 1.446 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/1.353, allocations: 169.3 kB / 1.446 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/3.6, allocations: 0 / 1.446 GB, free: 15.12 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