Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001677/0.001677, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001205/0.001205, allocations: 84.02 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.879e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3345, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.477, allocations: 191.9 MB / 1.406 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.477, allocations: 94.56 kB / 1.406 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2602/1.737, allocations: 108 MB / 1.512 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.954e-06/1.738, allocations: 0 / 1.512 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001069/1.738, allocations: 52 kB / 1.512 GB, free: 5.488 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.006377/1.744, allocations: 2.231 MB / 1.514 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.744, allocations: 8.031 kB / 1.514 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008527/1.745, allocations: 424.8 kB / 1.514 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/1.748, allocations: 0.5902 MB / 1.515 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/1.752, allocations: 1.475 MB / 1.517 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/1.752, allocations: 209.6 kB / 1.517 GB, free: 452 kB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000473/1.752, allocations: 272 kB / 1.517 GB, free: 180 kB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0081/1.76, allocations: 4.23 MB / 1.521 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/1.76, allocations: 3.938 kB / 1.521 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/1.761, allocations: 116 kB / 1.521 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/1.761, allocations: 140.6 kB / 1.521 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006828/1.768, allocations: 3.598 MB / 1.525 GB, free: 7.988 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02779/1.796, allocations: 20.22 MB / 1.545 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/1.799, allocations: 1.881 MB / 1.546 GB, free: 15.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/1.8, allocations: 0.7552 MB / 1.547 GB, free: 15 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/1.8, allocations: 109.8 kB / 1.547 GB, free: 14.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/1.8, allocations: 43.34 kB / 1.547 GB, free: 14.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=77): time 2.415e-06/1.8, allocations: 0 / 1.547 GB, free: 14.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.01895/1.819, allocations: 4.812 MB / 1.552 GB, free: 10 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/1.82, allocations: 137.3 kB / 1.552 GB, free: 9.832 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/1.821, allocations: 0.8819 MB / 1.553 GB, free: 8.941 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/1.821, allocations: 41.7 kB / 1.553 GB, free: 8.895 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008339/1.822, allocations: 1.184 MB / 1.554 GB, free: 7.691 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/1.822, allocations: 331.3 kB / 1.555 GB, free: 7.363 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/1.822, allocations: 36 kB / 1.555 GB, free: 7.328 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002232/1.822, allocations: 402.7 kB / 1.555 GB, free: 6.926 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/1.824, allocations: 0.8355 MB / 1.556 GB, free: 6.09 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/1.826, allocations: 1.475 MB / 1.557 GB, free: 4.332 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/1.827, allocations: 1.16 MB / 1.558 GB, free: 3.168 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.827, allocations: 8 kB / 1.558 GB, free: 3.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003908/1.831, allocations: 2.445 MB / 1.561 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004142/1.835, allocations: 8.356 MB / 1.569 GB, free: 7.695 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.572e-05/1.835, allocations: 24 kB / 1.569 GB, free: 7.672 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.379e-05/1.836, allocations: 32 kB / 1.569 GB, free: 7.641 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/1.838, allocations: 0.5187 MB / 1.569 GB, free: 7.121 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.785e-05/1.838, allocations: 47.84 kB / 1.569 GB, free: 7.074 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.84, allocations: 155.5 kB / 1.57 GB, free: 6.922 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.84, allocations: 95.94 kB / 1.57 GB, free: 6.828 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/1.84, allocations: 4 kB / 1.57 GB, free: 6.824 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003702/1.844, allocations: 2.339 MB / 1.572 GB, free: 4.488 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/1.844, allocations: 24.94 kB / 1.572 GB, free: 4.465 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.844, allocations: 32 kB / 1.572 GB, free: 4.434 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/1.846, allocations: 0.5187 MB / 1.573 GB, free: 3.914 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.234e-05/1.846, allocations: 43.86 kB / 1.573 GB, free: 3.871 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.847, allocations: 127.8 kB / 1.573 GB, free: 3.746 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/1.847, allocations: 95.91 kB / 1.573 GB, free: 3.652 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 211 * 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.0004359/1.848, allocations: 208.3 kB / 1.573 GB, free: 3.441 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/1.848, allocations: 98.83 kB / 1.573 GB, free: 3.344 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/1.851, allocations: 1.816 MB / 1.575 GB, free: 1.469 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/1.851, allocations: 8 kB / 1.575 GB, free: 1.461 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.851, allocations: 4 kB / 1.575 GB, free: 1.457 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.851, allocations: 3.984 kB / 1.575 GB, free: 1.453 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/1.864, allocations: 9.029 MB / 1.584 GB, free: 7.418 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-05/1.864, allocations: 19.89 kB / 1.584 GB, free: 7.398 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.865, allocations: 251.5 kB / 1.584 GB, free: 7.152 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.623e-05/1.865, allocations: 16 kB / 1.584 GB, free: 7.137 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.131e-05/1.865, allocations: 28 kB / 1.584 GB, free: 7.109 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-05/1.865, allocations: 24.42 kB / 1.584 GB, free: 7.086 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/1.865, allocations: 19.94 kB / 1.584 GB, free: 7.066 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/1.869, allocations: 2.279 MB / 1.586 GB, free: 4.355 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007642/1.869, allocations: 327.8 kB / 1.587 GB, free: 4.016 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/1.87, allocations: 27.98 kB / 1.587 GB, free: 3.988 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/1.87, allocations: 79.91 kB / 1.587 GB, free: 3.91 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.87, allocations: 91.64 kB / 1.587 GB, free: 3.82 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/1.871, allocations: 32 kB / 1.587 GB, free: 3.789 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001247/1.872, allocations: 0.7099 MB / 1.588 GB, free: 3.082 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.42e-07/1.872, allocations: 0 / 1.588 GB, free: 3.082 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.004076/1.876, allocations: 0.8788 MB / 1.588 GB, free: 2.203 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 89 * 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.005297/1.881, allocations: 6.058 MB / 1.594 GB, free: 11.81 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.005208/1.886, allocations: 2.925 MB / 1.597 GB, free: 8.891 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/1.886, allocations: 0 / 1.597 GB, free: 8.891 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0009587/1.887, allocations: 0.5685 MB / 1.598 GB, free: 8.324 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.889, allocations: 153.1 kB / 1.598 GB, free: 8.18 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.9, allocations: 4.416 MB / 1.602 GB, free: 3.566 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.902, allocations: 2.153 MB / 1.604 GB, free: 1.383 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.003067/1.905, allocations: 1.051 MB / 1.605 GB, free: 336 kB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.907, allocations: 0.7532 MB / 1.606 GB, free: 15.57 MB / 1.073 GB Notification: Performance of SimCode: time 1.403e-06/1.907, allocations: 0 / 1.606 GB, free: 15.57 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09252/1.999, allocations: 30.15 MB / 1.635 GB, free: 1.672 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.999, allocations: 183.7 kB / 1.636 GB, free: 1.449 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/4.649, allocations: 7.938 kB / 1.636 GB, free: 1.441 MB / 1.089 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat does not exist to compare? outputFormat=mat