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.427/2.427, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001166/0.001166, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.54/1.54, allocations: 221.5 MB / 0.7824 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 95.69 kB / 0.9219 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.761e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3076, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.352, allocations: 190.4 MB / 1.392 GB, free: 13.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.352, allocations: 100.9 kB / 1.392 GB, free: 13.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2469/1.599, allocations: 107.7 MB / 1.497 GB, free: 4.406 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.695e-06/1.599, allocations: 0 / 1.497 GB, free: 4.406 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.751e-05/1.599, allocations: 52 kB / 1.497 GB, free: 4.355 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.005745/1.605, allocations: 2.224 MB / 1.499 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.605, allocations: 12.56 kB / 1.5 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/1.609, allocations: 0.5902 MB / 1.5 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/1.612, allocations: 1.479 MB / 1.502 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.519e-05/1.612, allocations: 88 kB / 1.502 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004094/1.612, allocations: 156 kB / 1.502 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005952/1.618, allocations: 3.236 MB / 1.505 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006696/1.625, allocations: 3.827 MB / 1.509 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.769e-05/1.625, allocations: 11.89 kB / 1.509 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/1.625, allocations: 0 / 1.509 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/1.625, allocations: 140.6 kB / 1.509 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/1.648, allocations: 19.5 MB / 1.528 GB, free: 2.953 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/1.651, allocations: 1.848 MB / 1.53 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/1.652, allocations: 0.7446 MB / 1.53 GB, free: 212 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/1.652, allocations: 105.9 kB / 1.53 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.652, allocations: 47.28 kB / 1.531 GB, free: 28 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=77): time 3.266e-06/1.652, allocations: 0 / 1.531 GB, free: 28 kB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.008222/1.66, allocations: 3.832 MB / 1.534 GB, free: 12.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/1.66, allocations: 141.4 kB / 1.534 GB, free: 12.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.661, allocations: 0.8311 MB / 1.535 GB, free: 11.17 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.854e-05/1.662, allocations: 25.7 kB / 1.535 GB, free: 11.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007235/1.662, allocations: 1.18 MB / 1.536 GB, free: 9.941 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/1.663, allocations: 327.3 kB / 1.537 GB, free: 9.617 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/1.663, allocations: 0 / 1.537 GB, free: 9.617 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001935/1.663, allocations: 402.7 kB / 1.537 GB, free: 9.215 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/1.664, allocations: 0.8121 MB / 1.538 GB, free: 8.402 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/1.665, allocations: 1.444 MB / 1.539 GB, free: 6.676 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/1.668, allocations: 1.407 MB / 1.541 GB, free: 5.266 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/1.668, allocations: 8 kB / 1.541 GB, free: 5.258 MB / 0.948 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004404/1.673, allocations: 2.558 MB / 1.543 GB, free: 2.691 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003136/1.676, allocations: 8.353 MB / 1.551 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/1.676, allocations: 20 kB / 1.551 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.546e-05/1.676, allocations: 32 kB / 1.551 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/1.678, allocations: 0.5265 MB / 1.552 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.437e-05/1.678, allocations: 51.73 kB / 1.552 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.68, allocations: 127.5 kB / 1.552 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.68, allocations: 83.98 kB / 1.552 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.68, allocations: 4 kB / 1.552 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00437/1.684, allocations: 2.409 MB / 1.554 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/1.684, allocations: 20 kB / 1.555 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/1.684, allocations: 32 kB / 1.555 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/1.687, allocations: 0.5186 MB / 1.555 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.031e-05/1.687, allocations: 52.12 kB / 1.555 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.688, allocations: 91.78 kB / 1.555 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/1.688, allocations: 87.97 kB / 1.555 GB, free: 5.637 MB / 0.9636 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.000334/1.688, allocations: 160.4 kB / 1.555 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0028/1.691, allocations: 1.506 MB / 1.557 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/1.691, allocations: 95.06 kB / 1.557 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/1.694, allocations: 1.816 MB / 1.559 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.694, allocations: 12 kB / 1.559 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.694, allocations: 0 / 1.559 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.694, allocations: 3.984 kB / 1.559 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/1.705, allocations: 8.432 MB / 1.567 GB, free: 8.562 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.705, allocations: 12 kB / 1.567 GB, free: 8.551 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.706, allocations: 243.6 kB / 1.567 GB, free: 8.312 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/1.706, allocations: 19.98 kB / 1.567 GB, free: 8.293 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/1.706, allocations: 19.95 kB / 1.567 GB, free: 8.273 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.778e-05/1.706, allocations: 23.92 kB / 1.567 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.745e-05/1.706, allocations: 19.88 kB / 1.567 GB, free: 8.23 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/1.709, allocations: 2.299 MB / 1.57 GB, free: 5.496 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/1.709, allocations: 323.8 kB / 1.57 GB, free: 5.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/1.71, allocations: 15.98 kB / 1.57 GB, free: 5.145 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/1.71, allocations: 63.86 kB / 1.57 GB, free: 5.082 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.711, allocations: 87.7 kB / 1.57 GB, free: 4.996 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/1.711, allocations: 44 kB / 1.57 GB, free: 4.953 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009553/1.712, allocations: 0.6669 MB / 1.571 GB, free: 4.293 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.292e-06/1.712, allocations: 3.938 kB / 1.571 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003342/1.715, allocations: 0.7967 MB / 1.572 GB, free: 3.492 MB / 0.9792 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.004844/1.72, allocations: 6.054 MB / 1.577 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004382/1.724, allocations: 2.772 MB / 1.58 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.724, allocations: 8.062 kB / 1.58 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/1.725, allocations: 0.5366 MB / 1.581 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.726, allocations: 149 kB / 1.581 GB, free: 9.656 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/1.735, allocations: 4.31 MB / 1.585 GB, free: 5.152 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/1.737, allocations: 2.154 MB / 1.587 GB, free: 2.965 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002728/1.74, allocations: 1.05 MB / 1.588 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.741, allocations: 0.752 MB / 1.589 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of SimCode: time 7.22e-07/1.741, allocations: 4 kB / 1.589 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05952/1.8, allocations: 29.23 MB / 1.617 GB, free: 4.016 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.801, allocations: 177.3 kB / 1.618 GB, free: 3.812 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/4.338, allocations: 4.031 kB / 1.618 GB, free: 3.809 MB / 1.026 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