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.371/2.371, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001184/0.001184, allocations: 183.6 kB / 492.3 MB, free: 0.6094 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.509/1.509, 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.001083/0.001083, allocations: 99.88 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.415e-05, allocations: 6.109 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3229, allocations: 142.4 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.454, allocations: 186.3 MB / 1.394 GB, free: 13.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.455, allocations: 98.94 kB / 1.394 GB, free: 13.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2641/1.719, allocations: 102.5 MB / 1.495 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.024e-06/1.719, allocations: 7.938 kB / 1.495 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002243/1.719, allocations: 63.98 kB / 1.495 GB, free: 5.754 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.009584/1.729, allocations: 2.168 MB / 1.497 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/1.729, allocations: 12.03 kB / 1.497 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002315/1.731, allocations: 399.5 kB / 1.497 GB, free: 3.121 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005425/1.737, allocations: 0.7462 MB / 1.498 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/1.741, allocations: 1.457 MB / 1.499 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/1.742, allocations: 185.2 kB / 1.5 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/1.743, allocations: 256 kB / 1.5 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/1.757, allocations: 4.148 MB / 1.504 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/1.757, allocations: 7.938 kB / 1.504 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/1.758, allocations: 108 kB / 1.504 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000278/1.758, allocations: 156.3 kB / 1.504 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008904/1.767, allocations: 3.411 MB / 1.507 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03326/1.801, allocations: 21.53 MB / 1.528 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/1.801, allocations: 0.5211 MB / 1.529 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/1.802, allocations: 0.4953 MB / 1.529 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/1.802, allocations: 15.89 kB / 1.529 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/1.802, allocations: 42.55 kB / 1.529 GB, free: 15.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=50): time 3.326e-06/1.802, allocations: 3.938 kB / 1.529 GB, free: 15.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=56): time 0.007978/1.81, allocations: 3.623 MB / 1.533 GB, free: 12.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.81, allocations: 239.3 kB / 1.533 GB, free: 11.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.813, allocations: 1.195 MB / 1.534 GB, free: 10.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/1.813, allocations: 29.7 kB / 1.534 GB, free: 10.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008516/1.813, allocations: 1.233 MB / 1.536 GB, free: 9.316 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/1.814, allocations: 205.7 kB / 1.536 GB, free: 9.113 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/1.814, allocations: 36 kB / 1.536 GB, free: 9.078 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002321/1.814, allocations: 410.7 kB / 1.536 GB, free: 8.668 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/1.815, allocations: 0.7613 MB / 1.537 GB, free: 7.906 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/1.817, allocations: 1.462 MB / 1.538 GB, free: 6.109 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/1.818, allocations: 1.053 MB / 1.539 GB, free: 5.059 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.818, allocations: 8 kB / 1.539 GB, free: 5.051 MB / 0.948 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003462/1.822, allocations: 2.316 MB / 1.542 GB, free: 2.727 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004044/1.826, allocations: 9.391 MB / 1.551 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.816e-05/1.826, allocations: 24 kB / 1.551 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.153e-05/1.826, allocations: 43.95 kB / 1.551 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.828, allocations: 443.2 kB / 1.551 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-05/1.828, allocations: 47.86 kB / 1.551 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.83, allocations: 283.2 kB / 1.552 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.83, allocations: 91.91 kB / 1.552 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.83, allocations: 5.25 kB / 1.552 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003259/1.833, allocations: 1.976 MB / 1.554 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.425e-05/1.833, allocations: 24 kB / 1.554 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.596e-05/1.833, allocations: 36 kB / 1.554 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/1.835, allocations: 403.3 kB / 1.554 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.672e-05/1.835, allocations: 52.38 kB / 1.554 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.836, allocations: 179.5 kB / 1.554 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/1.836, allocations: 83.98 kB / 1.554 GB, free: 4.941 MB / 0.9636 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 () * 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.0004439/1.837, allocations: 209.4 kB / 1.555 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/1.837, allocations: 110.6 kB / 1.555 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/1.839, allocations: 0.8701 MB / 1.556 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/1.839, allocations: 8 kB / 1.556 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/1.839, allocations: 4 kB / 1.556 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.839, allocations: 3.984 kB / 1.556 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.854, allocations: 8.123 MB / 1.564 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/1.855, allocations: 16.03 kB / 1.564 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/1.855, allocations: 143.8 kB / 1.564 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.187e-05/1.855, allocations: 19.95 kB / 1.564 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/1.855, allocations: 24 kB / 1.564 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-05/1.855, allocations: 23.88 kB / 1.564 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/1.855, allocations: 15.94 kB / 1.564 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/1.858, allocations: 2.435 MB / 1.566 GB, free: 8.289 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/1.859, allocations: 347.5 kB / 1.567 GB, free: 7.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/1.859, allocations: 27.95 kB / 1.567 GB, free: 7.902 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.861, allocations: 119.8 kB / 1.567 GB, free: 7.785 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.861, allocations: 71.73 kB / 1.567 GB, free: 7.715 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/1.861, allocations: 28 kB / 1.567 GB, free: 7.688 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001895/1.863, allocations: 0.9127 MB / 1.568 GB, free: 6.762 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2e-07/1.863, allocations: 3.938 kB / 1.568 GB, free: 6.758 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004719/1.867, allocations: 0.8164 MB / 1.568 GB, free: 5.941 MB / 0.9792 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 () * 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.004404/1.872, allocations: 6.502 MB / 1.575 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004356/1.876, allocations: 2.534 MB / 1.577 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.876, allocations: 3.938 kB / 1.577 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/1.877, allocations: 454.3 kB / 1.578 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.879, allocations: 215.7 kB / 1.578 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.894, allocations: 4.111 MB / 1.582 GB, free: 7.582 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00309/1.897, allocations: 2.039 MB / 1.584 GB, free: 5.508 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0029/1.9, allocations: 0.8599 MB / 1.585 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.901, allocations: 0.7141 MB / 1.585 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of SimCode: time 9.42e-07/1.901, allocations: 0 / 1.585 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0649/1.966, allocations: 29 MB / 1.614 GB, free: 7.203 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/1.966, allocations: 198.5 kB / 1.614 GB, free: 6.969 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/4.831, allocations: 0 / 1.614 GB, free: 6.969 MB / 1.026 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