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.37/2.37, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001144/0.001144, allocations: 189 kB / 498.1 MB, free: 5.676 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.473/1.473, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0009424/0.0009424, allocations: 96.59 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003494, allocations: 13 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2922, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2065/0.4987, allocations: 169.9 MB / 1.389 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4991, allocations: 99.94 kB / 1.389 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.03378/0.5329, allocations: 13.58 MB / 1.402 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5329, allocations: 0 / 1.402 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.5329, allocations: 8 kB / 1.402 GB, free: 1.527 MB / 0.9011 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.0006818/0.5336, allocations: 475 kB / 1.403 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5337, allocations: 12.03 kB / 1.403 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.335e-05/0.5337, allocations: 54.53 kB / 1.403 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/0.5343, allocations: 67.73 kB / 1.403 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.5347, allocations: 233.1 kB / 1.403 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5347, allocations: 8 kB / 1.403 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.5347, allocations: 12 kB / 1.403 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.5352, allocations: 283.1 kB / 1.403 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5352, allocations: 0 / 1.403 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.5353, allocations: 4 kB / 1.403 GB, free: 276 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.5353, allocations: 20.22 kB / 1.403 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.5356, allocations: 208.5 kB / 1.404 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5669/1.103, allocations: 1.578 MB / 1.405 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/1.103, allocations: 69.36 kB / 1.405 GB, free: 171 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/1.103, allocations: 9.312 kB / 1.405 GB, free: 171 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.103, allocations: 36.36 kB / 1.405 GB, free: 171 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 3.566e-06/1.103, allocations: 0 / 1.405 GB, free: 171 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.000793/1.104, allocations: 216.5 kB / 1.405 GB, free: 170.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.104, allocations: 79.45 kB / 1.405 GB, free: 170.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/1.104, allocations: 208.6 kB / 1.406 GB, free: 170.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/1.104, allocations: 25.7 kB / 1.406 GB, free: 170.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/1.104, allocations: 161.4 kB / 1.406 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/1.104, allocations: 34.53 kB / 1.406 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/1.104, allocations: 4.406 kB / 1.406 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.104, allocations: 329.4 kB / 1.406 GB, free: 170.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/1.105, allocations: 74.72 kB / 1.406 GB, free: 170.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/1.105, allocations: 157.6 kB / 1.406 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/1.105, allocations: 99.27 kB / 1.407 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/1.105, allocations: 1.312 kB / 1.407 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005346/1.106, allocations: 274.1 kB / 1.407 GB, free: 170.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002647/1.106, allocations: 1.142 MB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.106, allocations: 3.5 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.106, allocations: 4.312 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/1.106, allocations: 56.48 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/1.106, allocations: 10 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/1.107, allocations: 28.81 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/1.107, allocations: 12.44 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.107, allocations: 2.875 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004139/1.107, allocations: 211.6 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.107, allocations: 6.172 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/1.107, allocations: 4.844 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/1.107, allocations: 49.48 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.107, allocations: 5.812 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/1.108, allocations: 24.25 kB / 1.408 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.108, allocations: 9.75 kB / 1.408 GB, free: 168.9 MB / 0.9011 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 () * Number of clocked 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 0.0001807/1.108, allocations: 221.4 kB / 1.409 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/1.108, allocations: 18.16 kB / 1.409 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/1.108, allocations: 115 kB / 1.409 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.108, allocations: 4.125 kB / 1.409 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.108, allocations: 2.438 kB / 1.409 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.108, allocations: 5.266 kB / 1.409 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009279/1.109, allocations: 0.6203 MB / 1.409 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.109, allocations: 1.812 kB / 1.409 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/1.109, allocations: 17.92 kB / 1.409 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/1.109, allocations: 8.094 kB / 1.409 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/1.109, allocations: 5.938 kB / 1.409 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.109, allocations: 3.078 kB / 1.409 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.109, allocations: 3.5 kB / 1.409 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/1.11, allocations: 413.5 kB / 1.41 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/1.11, allocations: 104.9 kB / 1.41 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/1.11, allocations: 5.094 kB / 1.41 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/1.11, allocations: 18.75 kB / 1.41 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/1.11, allocations: 13.61 kB / 1.41 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/1.11, allocations: 3.688 kB / 1.41 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001895/1.11, allocations: 168.9 kB / 1.41 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.81e-07/1.11, allocations: 0 / 1.41 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007688/1.111, allocations: 87.67 kB / 1.41 GB, free: 167.7 MB / 0.9011 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 () * Number of clocked 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.0006627/1.112, allocations: 1.441 MB / 1.412 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006525/1.113, allocations: 269.6 kB / 1.412 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.113, allocations: 0 / 1.412 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/1.113, allocations: 52.48 kB / 1.412 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/1.113, allocations: 30.67 kB / 1.412 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/1.116, allocations: 2.939 MB / 1.415 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/1.116, allocations: 0.7356 MB / 1.415 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003094/1.116, allocations: 75.5 kB / 1.416 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/1.116, allocations: 46.34 kB / 1.416 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of SimCode: time 4.01e-07/1.116, allocations: 0 / 1.416 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/1.137, allocations: 3.2 MB / 1.419 GB, free: 163 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/1.137, allocations: 217.3 kB / 1.419 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.778, allocations: 3.234 kB / 1.419 GB, free: 162.7 MB / 0.9011 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