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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.003/3.003, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.022/5.022, allocations: 409.2 MB / 0.6838 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007788/0.0007791, allocations: 15.98 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57/1.57, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02633/1.597, allocations: 14.63 MB / 0.9952 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01352/1.61, allocations: 5.349 MB / 1 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/1.612, allocations: 31.94 kB / 1 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/1.614, allocations: 330.1 kB / 1.001 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00373/1.618, allocations: 454.5 kB / 1.001 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004013/1.622, allocations: 0.6464 MB / 1.002 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004761/1.627, allocations: 1.602 MB / 1.003 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01593/1.643, allocations: 5.895 MB / 1.009 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/1.646, allocations: 0.962 MB / 1.01 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/1.65, allocations: 1.133 MB / 1.011 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000927/1.651, allocations: 184 kB / 1.011 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/1.654, allocations: 0.5658 MB / 1.012 GB, free: 6.379 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002912/1.657, allocations: 1.255 MB / 1.013 GB, free: 5.121 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/1.658, allocations: 0.5122 MB / 1.014 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/1.669, allocations: 5.071 MB / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.669, allocations: 0 / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.578e-06/1.669, allocations: 0 / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000264/1.67, allocations: 0 / 1.019 GB, free: 15.52 MB / 0.7794 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.01118/1.681, allocations: 2.248 MB / 1.021 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 0.000112/1.681, allocations: 12.03 kB / 1.021 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003052/1.684, allocations: 428.7 kB / 1.021 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007066/1.691, allocations: 0.7229 MB / 1.022 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/1.697, allocations: 1.41 MB / 1.023 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/1.698, allocations: 205.6 kB / 1.023 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/1.699, allocations: 272 kB / 1.024 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/1.717, allocations: 4.672 MB / 1.028 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/1.717, allocations: 0 / 1.028 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008904/1.718, allocations: 119.9 kB / 1.028 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003093/1.718, allocations: 148.6 kB / 1.029 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/1.732, allocations: 4.066 MB / 1.033 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04387/1.776, allocations: 20.43 MB / 1.052 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005235/1.781, allocations: 1.94 MB / 1.054 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/1.781, allocations: 109.7 kB / 1.054 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/1.782, allocations: 43.22 kB / 1.054 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=77): time 6.291e-06/1.782, allocations: 0 / 1.054 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=77): time 0.004402/1.786, allocations: 1.699 MB / 1.056 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.786, allocations: 145.5 kB / 1.056 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/1.789, allocations: 0.9684 MB / 1.057 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/1.789, allocations: 37.7 kB / 1.057 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/1.79, allocations: 1.183 MB / 1.058 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/1.79, allocations: 280.1 kB / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/1.791, allocations: 36 kB / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002626/1.791, allocations: 394.7 kB / 1.059 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/1.793, allocations: 0.7846 MB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/1.795, allocations: 1.413 MB / 1.061 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/1.798, allocations: 1.088 MB / 1.062 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.988e-05/1.798, allocations: 8 kB / 1.062 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.009679/1.808, allocations: 2.297 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.01261/1.821, allocations: 8.359 MB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/1.821, allocations: 20 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.091e-05/1.821, allocations: 32 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/1.824, allocations: 451.2 kB / 1.073 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.738e-05/1.824, allocations: 43.86 kB / 1.073 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.827, allocations: 257.9 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/1.827, allocations: 87.92 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/1.827, allocations: 4 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005385/1.832, allocations: 2.195 MB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.512e-05/1.832, allocations: 28.03 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.594e-05/1.832, allocations: 32 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/1.835, allocations: 447.2 kB / 1.076 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.588e-05/1.835, allocations: 43.8 kB / 1.076 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.837, allocations: 202.6 kB / 1.076 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/1.837, allocations: 79.94 kB / 1.077 GB, free: 0.7383 MB / 0.8262 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 196 * 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.003429/1.84, allocations: 1.207 MB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005693/1.841, allocations: 86.97 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/1.844, allocations: 1.548 MB / 1.079 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.844, allocations: 8 kB / 1.079 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.844, allocations: 0 / 1.079 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/1.844, allocations: 7.938 kB / 1.079 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/1.858, allocations: 6.626 MB / 1.086 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-05/1.858, allocations: 15.94 kB / 1.086 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.86, allocations: 183.7 kB / 1.086 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.932e-05/1.86, allocations: 15.98 kB / 1.086 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/1.86, allocations: 20 kB / 1.086 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.326e-05/1.86, allocations: 15.94 kB / 1.086 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-05/1.86, allocations: 12.44 kB / 1.086 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/1.863, allocations: 1.978 MB / 1.088 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008519/1.864, allocations: 315.8 kB / 1.088 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/1.864, allocations: 27.95 kB / 1.088 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.865, allocations: 79.88 kB / 1.088 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.865, allocations: 63.78 kB / 1.088 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/1.866, allocations: 27.98 kB / 1.088 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001618/1.867, allocations: 0.7215 MB / 1.089 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/1.867, allocations: 0 / 1.089 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005534/1.873, allocations: 1.185 MB / 1.09 GB, free: 1.602 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * 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.004858/1.878, allocations: 4.9 MB / 1.095 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006633/1.884, allocations: 2.707 MB / 1.098 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/1.884, allocations: 1 kB / 1.098 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.886, allocations: 0.5187 MB / 1.098 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.887, allocations: 158.4 kB / 1.098 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/1.921, allocations: 24.4 MB / 1.122 GB, free: 16 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003776/1.925, allocations: 2.121 MB / 1.124 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003875/1.928, allocations: 0.9604 MB / 1.125 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/1.93, allocations: 0.7297 MB / 1.126 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of SimCode: time 1.152e-06/1.93, allocations: 0 / 1.126 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/2.053, allocations: 26.62 MB / 1.152 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005202/2.053, allocations: 225 kB / 1.152 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.279/6.332, allocations: 0 / 1.152 GB, free: 1.547 MB / 0.9044 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) Environment - environmentSimulation: 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