Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_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.263/2.263, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.00129/0.00129, allocations: 184.8 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.666/1.666, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009028/0.0009028, allocations: 83.97 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.391e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2756, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9355/1.211, allocations: 169.9 MB / 1.378 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.212, allocations: 99.39 kB / 1.378 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.031/1.243, allocations: 13.5 MB / 1.392 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.744e-06/1.243, allocations: 0 / 1.392 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.438e-05/1.243, allocations: 3.844 kB / 1.392 GB, free: 30.29 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007058/1.243, allocations: 463 kB / 1.392 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.243, allocations: 11.66 kB / 1.392 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.7e-05/1.243, allocations: 49.48 kB / 1.392 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006576/1.244, allocations: 62.38 kB / 1.392 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/1.244, allocations: 235.9 kB / 1.392 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/1.244, allocations: 11.28 kB / 1.392 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/1.245, allocations: 11.19 kB / 1.392 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/1.245, allocations: 273 kB / 1.393 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/1.245, allocations: 7.844 kB / 1.393 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/1.245, allocations: 7.344 kB / 1.393 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/1.245, allocations: 11.91 kB / 1.393 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/1.245, allocations: 208.6 kB / 1.393 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/1.247, allocations: 1.577 MB / 1.394 GB, free: 28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.13e-05/1.247, allocations: 75.84 kB / 1.395 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/1.247, allocations: 50.38 kB / 1.395 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/1.247, allocations: 3.969 kB / 1.395 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/1.247, allocations: 42.02 kB / 1.395 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/1.247, allocations: 3.938 kB / 1.395 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004457/1.248, allocations: 186.6 kB / 1.395 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/1.248, allocations: 77.11 kB / 1.395 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/1.248, allocations: 201 kB / 1.395 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/1.248, allocations: 29.02 kB / 1.395 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/1.248, allocations: 163.9 kB / 1.395 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/1.248, allocations: 25.97 kB / 1.395 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/1.248, allocations: 6 kB / 1.395 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/1.248, allocations: 321.5 kB / 1.396 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/1.248, allocations: 78.66 kB / 1.396 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/1.248, allocations: 162.5 kB / 1.396 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/1.249, allocations: 101.2 kB / 1.396 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.249, allocations: 3.844 kB / 1.396 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003326/1.249, allocations: 269.7 kB / 1.396 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003283/1.249, allocations: 1.144 MB / 1.397 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/1.249, allocations: 0 / 1.397 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.249, allocations: 7.688 kB / 1.397 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/1.249, allocations: 50.44 kB / 1.397 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.249, allocations: 3.875 kB / 1.397 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/1.25, allocations: 27.19 kB / 1.397 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/1.25, allocations: 11.25 kB / 1.397 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/1.25, allocations: 3.844 kB / 1.397 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000266/1.25, allocations: 221.2 kB / 1.398 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/1.25, allocations: 3.688 kB / 1.398 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/1.25, allocations: 3.875 kB / 1.398 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/1.25, allocations: 46.44 kB / 1.398 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.25, allocations: 7.766 kB / 1.398 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/1.25, allocations: 27.23 kB / 1.398 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/1.25, allocations: 7.703 kB / 1.398 GB, free: 25.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 8.298e-05/1.25, allocations: 121.2 kB / 1.398 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/1.251, allocations: 19.48 kB / 1.398 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/1.251, allocations: 116.4 kB / 1.398 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.251, allocations: 0 / 1.398 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.251, allocations: 3.938 kB / 1.398 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.251, allocations: 7.766 kB / 1.398 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000606/1.251, allocations: 0.6178 MB / 1.399 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.251, allocations: 3.906 kB / 1.399 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/1.251, allocations: 19.28 kB / 1.399 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.251, allocations: 4.125 kB / 1.399 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/1.252, allocations: 11.59 kB / 1.399 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.252, allocations: 3.781 kB / 1.399 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.252, allocations: 3.938 kB / 1.399 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/1.252, allocations: 408.6 kB / 1.399 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/1.252, allocations: 106.6 kB / 1.399 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/1.252, allocations: 3.844 kB / 1.399 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/1.252, allocations: 7.797 kB / 1.399 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/1.252, allocations: 14.95 kB / 1.399 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/1.252, allocations: 3.812 kB / 1.399 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001269/1.252, allocations: 163.4 kB / 1.399 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.252, allocations: 0 / 1.399 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004752/1.253, allocations: 96.14 kB / 1.399 GB, free: 24.17 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000687/1.253, allocations: 1.438 MB / 1.401 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003447/1.254, allocations: 263.1 kB / 1.401 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.254, allocations: 1.5 kB / 1.401 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/1.254, allocations: 53.5 kB / 1.401 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/1.254, allocations: 32.47 kB / 1.401 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/1.255, allocations: 333.6 kB / 1.401 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/1.255, allocations: 0.7381 MB / 1.402 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001949/1.255, allocations: 84.41 kB / 1.402 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/1.255, allocations: 44.17 kB / 1.402 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of SimCode: time 8.72e-07/1.255, allocations: 0 / 1.402 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/1.269, allocations: 3.315 MB / 1.406 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/1.27, allocations: 192.5 kB / 1.406 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.918, allocations: 0 / 1.406 GB, free: 18.46 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat