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.293/2.293, allocations: 390.5 MB / 398 MB, free: 10.9 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.00122/0.00122, allocations: 164.9 kB / 491.2 MB, free: 1.562 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.552/1.552, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001096/0.001096, allocations: 99.88 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.215e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.383, allocations: 191.2 MB / 1.399 GB, free: 8.684 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.384, allocations: 93.38 kB / 1.399 GB, free: 8.633 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.258/1.642, allocations: 107.7 MB / 1.504 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.734e-06/1.642, allocations: 0 / 1.504 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001023/1.642, allocations: 55.98 kB / 1.504 GB, free: 12.01 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.006628/1.648, allocations: 2.227 MB / 1.507 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.648, allocations: 8.031 kB / 1.507 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/1.653, allocations: 0.5864 MB / 1.507 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003748/1.656, allocations: 1.471 MB / 1.509 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/1.657, allocations: 92 kB / 1.509 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007402/1.657, allocations: 159.9 kB / 1.509 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007478/1.665, allocations: 3.24 MB / 1.512 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/1.677, allocations: 3.827 MB / 1.516 GB, free: 212 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/1.677, allocations: 4 kB / 1.516 GB, free: 208 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009605/1.678, allocations: 0 / 1.516 GB, free: 208 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/1.678, allocations: 148.6 kB / 1.516 GB, free: 56 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03266/1.711, allocations: 19.5 MB / 1.535 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/1.715, allocations: 1.852 MB / 1.537 GB, free: 8.609 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/1.716, allocations: 0.7333 MB / 1.538 GB, free: 7.863 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/1.716, allocations: 117.8 kB / 1.538 GB, free: 7.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/1.716, allocations: 47.23 kB / 1.538 GB, free: 7.676 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 3.276e-06/1.716, allocations: 3.938 kB / 1.538 GB, free: 7.672 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.01082/1.727, allocations: 3.828 MB / 1.541 GB, free: 3.832 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.727, allocations: 145.2 kB / 1.542 GB, free: 3.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/1.729, allocations: 0.8311 MB / 1.542 GB, free: 2.824 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/1.729, allocations: 25.7 kB / 1.542 GB, free: 2.793 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.73, allocations: 1.187 MB / 1.544 GB, free: 1.586 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004183/1.731, allocations: 319.3 kB / 1.544 GB, free: 1.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/1.731, allocations: 0 / 1.544 GB, free: 1.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000288/1.731, allocations: 402.7 kB / 1.544 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/1.733, allocations: 0.8121 MB / 1.545 GB, free: 56 kB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/1.735, allocations: 1.448 MB / 1.546 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/1.738, allocations: 1.399 MB / 1.548 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/1.738, allocations: 8 kB / 1.548 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.005381/1.743, allocations: 2.559 MB / 1.55 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004487/1.748, allocations: 8.358 MB / 1.558 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.431e-05/1.748, allocations: 24 kB / 1.558 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-05/1.748, allocations: 32 kB / 1.559 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/1.75, allocations: 0.5187 MB / 1.559 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.119e-05/1.751, allocations: 43.86 kB / 1.559 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.752, allocations: 119.6 kB / 1.559 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/1.752, allocations: 91.97 kB / 1.559 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.752, allocations: 11.94 kB / 1.559 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005132/1.758, allocations: 2.394 MB / 1.562 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.85e-05/1.758, allocations: 24.19 kB / 1.562 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.995e-05/1.758, allocations: 39.95 kB / 1.562 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/1.76, allocations: 0.5148 MB / 1.562 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.474e-05/1.76, allocations: 47.8 kB / 1.562 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.761, allocations: 103.7 kB / 1.562 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/1.762, allocations: 87.98 kB / 1.562 GB, free: 13.29 MB / 0.9792 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.0004355/1.762, allocations: 156.4 kB / 1.563 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003371/1.765, allocations: 1.51 MB / 1.564 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/1.766, allocations: 98.91 kB / 1.564 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/1.769, allocations: 1.816 MB / 1.566 GB, free: 9.641 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.769, allocations: 15.98 kB / 1.566 GB, free: 9.625 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.769, allocations: 0 / 1.566 GB, free: 9.625 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/1.769, allocations: 3.984 kB / 1.566 GB, free: 9.621 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/1.783, allocations: 8.417 MB / 1.574 GB, free: 228 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/1.783, allocations: 12 kB / 1.574 GB, free: 216 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.784, allocations: 251.7 kB / 1.574 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.63e-05/1.785, allocations: 23.94 kB / 1.574 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/1.785, allocations: 16 kB / 1.574 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.308e-05/1.785, allocations: 23.88 kB / 1.574 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/1.785, allocations: 15.94 kB / 1.574 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/1.788, allocations: 2.299 MB / 1.577 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007996/1.789, allocations: 323.8 kB / 1.577 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/1.789, allocations: 19.94 kB / 1.577 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009926/1.79, allocations: 59.91 kB / 1.577 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/1.79, allocations: 87.7 kB / 1.577 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/1.791, allocations: 39.98 kB / 1.577 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001406/1.792, allocations: 0.663 MB / 1.578 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.11e-07/1.792, allocations: 0 / 1.578 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004808/1.797, allocations: 0.7968 MB / 1.579 GB, free: 11.16 MB / 0.9948 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.00548/1.802, allocations: 6.061 MB / 1.585 GB, free: 4.758 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004844/1.807, allocations: 2.78 MB / 1.587 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.807, allocations: 0 / 1.587 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008182/1.808, allocations: 0.544 MB / 1.588 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.809, allocations: 145.9 kB / 1.588 GB, free: 1.312 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/1.821, allocations: 4.313 MB / 1.592 GB, free: 12.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003233/1.825, allocations: 2.15 MB / 1.594 GB, free: 10.62 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003346/1.828, allocations: 1.054 MB / 1.595 GB, free: 9.566 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/1.829, allocations: 0.7531 MB / 1.596 GB, free: 8.816 MB / 1.01 GB Notification: Performance of SimCode: time 1.794e-06/1.83, allocations: 0 / 1.596 GB, free: 8.816 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07069/1.9, allocations: 29.21 MB / 1.625 GB, free: 11.69 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/1.9, allocations: 185.2 kB / 1.625 GB, free: 11.49 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/4.525, allocations: 0 / 1.625 GB, free: 11.49 MB / 1.042 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