Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.0009962/0.0009964, allocations: 180.9 kB / 492.3 MB, free: 0.6211 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.512/1.512, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.000946/0.0009463, allocations: 102.6 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.981e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3734, allocations: 142.4 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.398, allocations: 191.1 MB / 1.399 GB, free: 8.684 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/1.398, allocations: 104.6 kB / 1.399 GB, free: 8.621 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.273/1.671, allocations: 108.1 MB / 1.505 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.904e-06/1.671, allocations: 0 / 1.505 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00017/1.671, allocations: 52 kB / 1.505 GB, free: 11.29 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.008917/1.68, allocations: 2.227 MB / 1.507 GB, free: 9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/1.68, allocations: 8.031 kB / 1.507 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002333/1.683, allocations: 428.8 kB / 1.507 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/1.688, allocations: 0.5902 MB / 1.508 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005673/1.694, allocations: 1.475 MB / 1.509 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/1.694, allocations: 205.6 kB / 1.51 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/1.696, allocations: 268 kB / 1.51 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/1.711, allocations: 4.232 MB / 1.514 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/1.711, allocations: 4 kB / 1.514 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/1.712, allocations: 115.9 kB / 1.514 GB, free: 1.543 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/1.713, allocations: 144.6 kB / 1.514 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009038/1.722, allocations: 3.599 MB / 1.518 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/1.752, allocations: 20.21 MB / 1.537 GB, free: 7.605 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/1.755, allocations: 1.87 MB / 1.539 GB, free: 5.586 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/1.757, allocations: 0.7668 MB / 1.54 GB, free: 4.809 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.757, allocations: 113.8 kB / 1.54 GB, free: 4.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/1.757, allocations: 43.3 kB / 1.54 GB, free: 4.629 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 3.136e-06/1.757, allocations: 0 / 1.54 GB, free: 4.629 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.02018/1.777, allocations: 4.805 MB / 1.545 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/1.777, allocations: 145.4 kB / 1.545 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.779, allocations: 0.8779 MB / 1.546 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/1.779, allocations: 37.7 kB / 1.546 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008004/1.78, allocations: 1.187 MB / 1.547 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000373/1.78, allocations: 327.4 kB / 1.547 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/1.78, allocations: 36 kB / 1.547 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002303/1.78, allocations: 402.7 kB / 1.548 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/1.782, allocations: 0.8355 MB / 1.549 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/1.784, allocations: 1.475 MB / 1.55 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/1.785, allocations: 1.168 MB / 1.551 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/1.785, allocations: 4 kB / 1.551 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003918/1.789, allocations: 2.449 MB / 1.554 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003555/1.793, allocations: 8.356 MB / 1.562 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.177e-05/1.793, allocations: 24 kB / 1.562 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.973e-05/1.793, allocations: 32 kB / 1.562 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/1.796, allocations: 0.5187 MB / 1.562 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.307e-05/1.796, allocations: 47.84 kB / 1.562 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/1.797, allocations: 159.5 kB / 1.562 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/1.797, allocations: 91.92 kB / 1.563 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.797, allocations: 4 kB / 1.563 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003801/1.801, allocations: 2.339 MB / 1.565 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.313e-05/1.801, allocations: 24 kB / 1.565 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.726e-05/1.801, allocations: 36.16 kB / 1.565 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/1.804, allocations: 0.5148 MB / 1.565 GB, free: 9.715 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.268e-05/1.804, allocations: 47.8 kB / 1.565 GB, free: 9.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.805, allocations: 127.8 kB / 1.566 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.805, allocations: 87.98 kB / 1.566 GB, free: 9.457 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.0003974/1.805, allocations: 209.5 kB / 1.566 GB, free: 9.246 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/1.806, allocations: 90.88 kB / 1.566 GB, free: 9.156 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/1.809, allocations: 1.823 MB / 1.568 GB, free: 7.281 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.809, allocations: 8 kB / 1.568 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.809, allocations: 0 / 1.568 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.809, allocations: 11.98 kB / 1.568 GB, free: 7.262 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.822, allocations: 9.025 MB / 1.577 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/1.822, allocations: 15.98 kB / 1.577 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.823, allocations: 255.5 kB / 1.577 GB, free: 12.97 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.662e-05/1.823, allocations: 20.64 kB / 1.577 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/1.823, allocations: 24 kB / 1.577 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-05/1.823, allocations: 31.92 kB / 1.577 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/1.823, allocations: 15.94 kB / 1.577 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/1.825, allocations: 2.283 MB / 1.579 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/1.826, allocations: 319.9 kB / 1.579 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/1.827, allocations: 43.88 kB / 1.58 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008592/1.827, allocations: 71.91 kB / 1.58 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.828, allocations: 87.7 kB / 1.58 GB, free: 9.625 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/1.828, allocations: 36 kB / 1.58 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001216/1.829, allocations: 0.706 MB / 1.58 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.61e-07/1.829, allocations: 0 / 1.58 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003642/1.832, allocations: 0.8827 MB / 1.581 GB, free: 8.008 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.00386/1.836, allocations: 6.054 MB / 1.587 GB, free: 1.621 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004728/1.841, allocations: 2.925 MB / 1.59 GB, free: 14.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.841, allocations: 0 / 1.59 GB, free: 14.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008226/1.842, allocations: 0.5687 MB / 1.591 GB, free: 14.13 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.843, allocations: 153.5 kB / 1.591 GB, free: 13.99 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.854, allocations: 4.42 MB / 1.595 GB, free: 9.371 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/1.856, allocations: 2.145 MB / 1.597 GB, free: 7.195 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003043/1.859, allocations: 1.054 MB / 1.598 GB, free: 6.137 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.86, allocations: 0.7531 MB / 1.599 GB, free: 5.387 MB / 1.01 GB Notification: Performance of SimCode: time 7.11e-07/1.86, allocations: 4 kB / 1.599 GB, free: 5.383 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/1.919, allocations: 30.14 MB / 1.628 GB, free: 7.48 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/1.919, allocations: 186.4 kB / 1.629 GB, free: 7.254 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/4.513, allocations: 0 / 1.629 GB, free: 7.254 MB / 1.042 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat does not exist to compare? outputFormat=mat