Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.209/2.209, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00101/0.00101, allocations: 181 kB / 498.1 MB, free: 5.738 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.432/1.432, allocations: 223.1 MB / 0.7948 GB, free: 17.92 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.0008768/0.0008768, allocations: 96.27 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004497, allocations: 10.06 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.305, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.533, allocations: 186.3 MB / 1.405 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.5334, allocations: 107.9 kB / 1.405 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8712/1.405, allocations: 103 MB / 1.506 GB, free: 145.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.085e-06/1.405, allocations: 0 / 1.506 GB, free: 145.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001685/1.405, allocations: 59.98 kB / 1.506 GB, free: 145 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.008064/1.413, allocations: 2.269 MB / 1.508 GB, free: 142.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/1.413, allocations: 8.031 kB / 1.508 GB, free: 142.7 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001865/1.415, allocations: 403.5 kB / 1.508 GB, free: 142.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/1.42, allocations: 0.7462 MB / 1.509 GB, free: 141.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00417/1.424, allocations: 1.461 MB / 1.51 GB, free: 140 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/1.424, allocations: 193.2 kB / 1.511 GB, free: 139.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/1.425, allocations: 248 kB / 1.511 GB, free: 139.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00914/1.435, allocations: 4.198 MB / 1.515 GB, free: 135.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.128e-05/1.435, allocations: 7.938 kB / 1.515 GB, free: 135.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/1.435, allocations: 108 kB / 1.515 GB, free: 135.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/1.435, allocations: 164.2 kB / 1.515 GB, free: 134.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005106/1.44, allocations: 3.459 MB / 1.519 GB, free: 131.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02004/1.46, allocations: 21.52 MB / 1.54 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/1.461, allocations: 0.5246 MB / 1.54 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/1.461, allocations: 11.98 kB / 1.54 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.461, allocations: 46.52 kB / 1.54 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=50): time 3.186e-06/1.461, allocations: 4 kB / 1.54 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=56): time 0.004717/1.466, allocations: 4.003 MB / 1.544 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/1.466, allocations: 240.4 kB / 1.544 GB, free: 103 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/1.467, allocations: 1.206 MB / 1.545 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/1.467, allocations: 37.7 kB / 1.545 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/1.468, allocations: 1.233 MB / 1.547 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/1.468, allocations: 205.3 kB / 1.547 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/1.468, allocations: 32 kB / 1.547 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.468, allocations: 410.7 kB / 1.547 GB, free: 99.85 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008439/1.469, allocations: 0.7768 MB / 1.548 GB, free: 99.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/1.47, allocations: 1.462 MB / 1.549 GB, free: 97.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/1.471, allocations: 1.07 MB / 1.551 GB, free: 96.21 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.471, allocations: 8 kB / 1.551 GB, free: 96.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002688/1.474, allocations: 2.339 MB / 1.553 GB, free: 93.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001968/1.476, allocations: 9.392 MB / 1.562 GB, free: 83.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/1.476, allocations: 24 kB / 1.562 GB, free: 83.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.777e-05/1.476, allocations: 40 kB / 1.562 GB, free: 83.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.478, allocations: 451.1 kB / 1.562 GB, free: 83.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-05/1.478, allocations: 47.86 kB / 1.563 GB, free: 83.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.48, allocations: 279.2 kB / 1.563 GB, free: 82.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/1.48, allocations: 83.98 kB / 1.563 GB, free: 82.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.48, allocations: 4 kB / 1.563 GB, free: 82.81 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002274/1.482, allocations: 2.004 MB / 1.565 GB, free: 80.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.482, allocations: 24 kB / 1.565 GB, free: 80.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/1.482, allocations: 36 kB / 1.565 GB, free: 80.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.483, allocations: 411.3 kB / 1.565 GB, free: 80.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.683e-05/1.483, allocations: 51.8 kB / 1.565 GB, free: 80.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.484, allocations: 179.5 kB / 1.566 GB, free: 80.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.485, allocations: 87.94 kB / 1.566 GB, free: 80.04 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.002045/1.487, allocations: 1.125 MB / 1.567 GB, free: 78.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/1.487, allocations: 110.7 kB / 1.567 GB, free: 78.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/1.488, allocations: 0.8706 MB / 1.568 GB, free: 77.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/1.488, allocations: 8 kB / 1.568 GB, free: 77.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.488, allocations: 0 / 1.568 GB, free: 77.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.488, allocations: 7.984 kB / 1.568 GB, free: 77.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009892/1.498, allocations: 8.13 MB / 1.576 GB, free: 69.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/1.498, allocations: 8 kB / 1.576 GB, free: 69.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/1.499, allocations: 147.6 kB / 1.576 GB, free: 69.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/1.499, allocations: 16.78 kB / 1.576 GB, free: 69.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/1.499, allocations: 20 kB / 1.576 GB, free: 69.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/1.499, allocations: 27.92 kB / 1.576 GB, free: 69.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/1.499, allocations: 19.88 kB / 1.576 GB, free: 69.33 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/1.501, allocations: 2.436 MB / 1.578 GB, free: 66.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/1.501, allocations: 351.5 kB / 1.579 GB, free: 66.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/1.501, allocations: 27.98 kB / 1.579 GB, free: 66.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/1.502, allocations: 115.8 kB / 1.579 GB, free: 65.95 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/1.503, allocations: 67.73 kB / 1.579 GB, free: 65.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/1.503, allocations: 31.94 kB / 1.579 GB, free: 65.85 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001058/1.504, allocations: 0.9198 MB / 1.58 GB, free: 64.92 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/1.504, allocations: 0 / 1.58 GB, free: 64.92 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003024/1.507, allocations: 0.8202 MB / 1.58 GB, free: 64.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (56): * Single equations (assignments): 56 * 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.002225/1.509, allocations: 6.522 MB / 1.587 GB, free: 57.22 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003105/1.512, allocations: 2.538 MB / 1.589 GB, free: 54.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.512, allocations: 4 kB / 1.589 GB, free: 54.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004483/1.512, allocations: 450.5 kB / 1.59 GB, free: 54.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.514, allocations: 220.9 kB / 1.59 GB, free: 54.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/1.534, allocations: 26.52 MB / 1.616 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/1.536, allocations: 2.045 MB / 1.618 GB, free: 24.59 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001904/1.538, allocations: 0.8052 MB / 1.619 GB, free: 23.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008047/1.539, allocations: 0.7218 MB / 1.619 GB, free: 23.06 MB / 0.9167 GB Notification: Performance of SimCode: time 1.513e-06/1.539, allocations: 4 kB / 1.619 GB, free: 23.06 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/1.587, allocations: 27.8 MB / 1.647 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.587, allocations: 220.5 kB / 1.647 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/4.335, allocations: 64 / 1.647 GB, free: 11.3 MB / 0.9323 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat