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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001374, allocations: 99.7 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.001808/0.001808, 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 1.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004404, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8368/0.8373, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01656/0.8539, allocations: 14.61 MB / 0.9679 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009567/0.8635, allocations: 5.362 MB / 0.9731 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.8648, allocations: 38.19 kB / 0.9731 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000839/0.8656, allocations: 315.1 kB / 0.9734 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.8673, allocations: 461.1 kB / 0.9739 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.8696, allocations: 0.6402 MB / 0.9745 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002524/0.8721, allocations: 1.605 MB / 0.9761 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.8826, allocations: 5.893 MB / 0.9818 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.8849, allocations: 0.9581 MB / 0.9828 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.8867, allocations: 1.126 MB / 0.9839 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.8871, allocations: 184 kB / 0.984 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.8885, allocations: 0.5735 MB / 0.9846 GB, free: 264 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001448/0.89, allocations: 1.255 MB / 0.9858 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009392/0.8909, allocations: 0.52 MB / 0.9863 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006296/0.8972, allocations: 5.063 MB / 0.9913 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8973, allocations: 0 / 0.9913 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8973, allocations: 0 / 0.9913 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000127/0.8974, allocations: 0 / 0.9913 GB, free: 9.398 MB / 0.7481 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.004655/0.9021, allocations: 2.252 MB / 0.9935 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.9021, allocations: 8.031 kB / 0.9935 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006019/0.9027, allocations: 428.8 kB / 0.9939 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/0.9061, allocations: 0.7268 MB / 0.9946 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.9091, allocations: 1.41 MB / 0.996 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.9092, allocations: 213.5 kB / 0.9962 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003944/0.9096, allocations: 260 kB / 0.9964 GB, free: 4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007437/0.9171, allocations: 4.676 MB / 1.001 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.9172, allocations: 0 / 1.001 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.9175, allocations: 112 kB / 1.001 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.9176, allocations: 156.6 kB / 1.001 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006576/0.9242, allocations: 4.066 MB / 1.005 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.9512, allocations: 20.42 MB / 1.025 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/0.9545, allocations: 1.948 MB / 1.027 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.9546, allocations: 101.7 kB / 1.027 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.9547, allocations: 47.16 kB / 1.027 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=77): time 3.056e-06/0.9547, allocations: 0 / 1.027 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of matching and sorting (n=77): time 0.002568/0.9573, allocations: 1.703 MB / 1.029 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.9574, allocations: 141.1 kB / 1.029 GB, free: 356 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.9587, allocations: 0.9687 MB / 1.03 GB, free: 15.37 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/0.9588, allocations: 41.7 kB / 1.03 GB, free: 15.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008854/0.9597, allocations: 1.187 MB / 1.031 GB, free: 14.11 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.9599, allocations: 272.2 kB / 1.031 GB, free: 13.84 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.96, allocations: 32 kB / 1.031 GB, free: 13.81 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.9602, allocations: 402.7 kB / 1.032 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.9613, allocations: 0.7768 MB / 1.033 GB, free: 12.63 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.9629, allocations: 1.409 MB / 1.034 GB, free: 10.93 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.9644, allocations: 1.1 MB / 1.035 GB, free: 9.836 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.9645, allocations: 4 kB / 1.035 GB, free: 9.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003455/0.9679, allocations: 2.305 MB / 1.037 GB, free: 7.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.003476/0.9714, allocations: 8.347 MB / 1.045 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/0.9715, allocations: 20 kB / 1.045 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.223e-05/0.9715, allocations: 43.89 kB / 1.046 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.9732, allocations: 443.2 kB / 1.046 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.365e-05/0.9733, allocations: 43.8 kB / 1.046 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.9745, allocations: 261.9 kB / 1.046 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.9746, allocations: 87.98 kB / 1.046 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.9746, allocations: 7.938 kB / 1.046 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002949/0.9776, allocations: 2.202 MB / 1.048 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.9776, allocations: 21 kB / 1.048 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.9776, allocations: 32 kB / 1.049 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.9792, allocations: 447.2 kB / 1.049 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.793e-05/0.9793, allocations: 43.86 kB / 1.049 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000962/0.9802, allocations: 194.7 kB / 1.049 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.9804, allocations: 79.98 kB / 1.049 GB, free: 10.62 MB / 0.8106 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.001947/0.9823, allocations: 1.199 MB / 1.05 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.9826, allocations: 94.95 kB / 1.051 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.9848, allocations: 1.548 MB / 1.052 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.9848, allocations: 8 kB / 1.052 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.9848, allocations: 4 kB / 1.052 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.9848, allocations: 3.984 kB / 1.052 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008743/0.9936, allocations: 6.626 MB / 1.059 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.9937, allocations: 8 kB / 1.059 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.9944, allocations: 195.7 kB / 1.059 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/0.9945, allocations: 12 kB / 1.059 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.9945, allocations: 24 kB / 1.059 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-05/0.9945, allocations: 19.89 kB / 1.059 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.9946, allocations: 8 kB / 1.059 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.9968, allocations: 1.967 MB / 1.061 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006175/0.9974, allocations: 331.6 kB / 1.061 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.9976, allocations: 23.98 kB / 1.061 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/0.9982, allocations: 71.89 kB / 1.061 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.9983, allocations: 71.78 kB / 1.061 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.9984, allocations: 28 kB / 1.061 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001022/0.9994, allocations: 0.7176 MB / 1.062 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9994, allocations: 3.938 kB / 1.062 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003493/1.003, allocations: 1.189 MB / 1.063 GB, free: 11.47 MB / 0.8262 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.003238/1.006, allocations: 4.897 MB / 1.068 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004139/1.01, allocations: 2.708 MB / 1.07 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.01, allocations: 4 kB / 1.07 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007045/1.011, allocations: 0.5121 MB / 1.071 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/1.012, allocations: 150.2 kB / 1.071 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/1.032, allocations: 24.41 MB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/1.034, allocations: 2.117 MB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002234/1.037, allocations: 0.9565 MB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009351/1.038, allocations: 0.7363 MB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/1.038, allocations: 0 / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04641/1.084, allocations: 26.63 MB / 1.125 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.084, allocations: 212.4 kB / 1.125 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/3.14, allocations: 4 kB / 1.125 GB, free: 11.41 MB / 0.8887 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