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.001036/0.001036, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008766/0.0008766, allocations: 168.7 kB / 15.95 MB, free: 204 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.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.402 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.632/2.632, allocations: 390.4 MB / 0.6655 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 8 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8727, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.015/0.8878, allocations: 14.91 MB / 0.9684 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009993/0.8978, allocations: 5.394 MB / 0.9737 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.8992, allocations: 34.72 kB / 0.9737 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008733/0.9001, allocations: 288.1 kB / 0.974 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.9026, allocations: 0.6225 MB / 0.9746 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.9055, allocations: 0.608 MB / 0.9752 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006113/0.9116, allocations: 4.576 MB / 0.9797 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009295/0.9209, allocations: 5.892 MB / 0.9854 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.9232, allocations: 1.203 MB / 0.9866 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.926, allocations: 1.764 MB / 0.9883 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003547/0.9264, allocations: 180 kB / 0.9885 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.9278, allocations: 0.5853 MB / 0.9891 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.9292, allocations: 1.357 MB / 0.9904 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.9298, allocations: 0.52 MB / 0.9909 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.9344, allocations: 5.083 MB / 0.9959 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.9344, allocations: 0 / 0.9959 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9344, allocations: 0 / 0.9959 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000142/0.9346, allocations: 0 / 0.9959 GB, free: 4.949 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.005458/0.94, allocations: 2.254 MB / 0.9981 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9401, allocations: 8.031 kB / 0.9981 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008279/0.9409, allocations: 440.7 kB / 0.9985 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.944, allocations: 0.6605 MB / 0.9991 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.9464, allocations: 1.41 MB / 1.001 GB, free: 72 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.9466, allocations: 213.6 kB / 1.001 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/0.9471, allocations: 271.9 kB / 1.001 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00769/0.9548, allocations: 4.692 MB / 1.006 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/0.9548, allocations: 0 / 1.006 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.9551, allocations: 116 kB / 1.006 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.9553, allocations: 152.6 kB / 1.006 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007444/0.9628, allocations: 4.07 MB / 1.01 GB, free: 6.461 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02293/0.9857, allocations: 20.29 MB / 1.03 GB, free: 200 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.9888, allocations: 1.897 MB / 1.031 GB, free: 14.15 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.9899, allocations: 0.7548 MB / 1.032 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.9901, allocations: 101.7 kB / 1.032 GB, free: 13.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.9901, allocations: 47.22 kB / 1.032 GB, free: 13.21 MB / 0.795 GB Notification: Performance of pre-optimization done (n=77): time 2.515e-06/0.9901, allocations: 0 / 1.032 GB, free: 13.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=92): time 0.01672/1.007, allocations: 5.283 MB / 1.037 GB, free: 7.914 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/1.007, allocations: 145.5 kB / 1.038 GB, free: 7.742 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/1.008, allocations: 0.9645 MB / 1.039 GB, free: 6.766 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.543e-05/1.008, allocations: 41.7 kB / 1.039 GB, free: 6.719 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/1.009, allocations: 1.184 MB / 1.04 GB, free: 5.516 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/1.01, allocations: 331.5 kB / 1.04 GB, free: 5.188 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/1.01, allocations: 36 kB / 1.04 GB, free: 5.152 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.01, allocations: 398.7 kB / 1.041 GB, free: 4.754 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/1.011, allocations: 0.8549 MB / 1.041 GB, free: 3.898 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/1.013, allocations: 1.495 MB / 1.043 GB, free: 2.117 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/1.014, allocations: 1.182 MB / 1.044 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/1.015, allocations: 8 kB / 1.044 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003669/1.018, allocations: 2.484 MB / 1.046 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006407/1.019, allocations: 0.7057 MB / 1.047 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/1.019, allocations: 20 kB / 1.047 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.074e-05/1.019, allocations: 36 kB / 1.047 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/1.021, allocations: 0.5186 MB / 1.048 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.286e-05/1.021, allocations: 43.86 kB / 1.048 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.022, allocations: 151.6 kB / 1.048 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/1.022, allocations: 87.98 kB / 1.048 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/1.022, allocations: 4 kB / 1.048 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003302/1.026, allocations: 2.371 MB / 1.05 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/1.026, allocations: 28.03 kB / 1.05 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.026, allocations: 35.95 kB / 1.05 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/1.028, allocations: 0.5147 MB / 1.051 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.161e-05/1.028, allocations: 43.86 kB / 1.051 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/1.029, allocations: 139.6 kB / 1.051 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/1.029, allocations: 83.98 kB / 1.051 GB, free: 9.363 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 (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.002152/1.031, allocations: 1.222 MB / 1.052 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/1.031, allocations: 90.97 kB / 1.052 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/1.034, allocations: 1.84 MB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.034, allocations: 11.95 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.034, allocations: 7.938 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.034, allocations: 3.984 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/1.046, allocations: 9.053 MB / 1.063 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/1.046, allocations: 11.98 kB / 1.063 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.047, allocations: 247.6 kB / 1.063 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/1.047, allocations: 16 kB / 1.063 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/1.048, allocations: 39.94 kB / 1.063 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/1.048, allocations: 19.94 kB / 1.063 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/1.048, allocations: 15.94 kB / 1.063 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.05, allocations: 1.763 MB / 1.065 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006002/1.05, allocations: 323.9 kB / 1.065 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/1.05, allocations: 27.98 kB / 1.065 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/1.051, allocations: 79.86 kB / 1.065 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.051, allocations: 87.7 kB / 1.066 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/1.051, allocations: 36 kB / 1.066 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001041/1.052, allocations: 0.7215 MB / 1.066 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.31e-07/1.052, allocations: 7.938 kB / 1.066 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003097/1.056, allocations: 0.8086 MB / 1.067 GB, free: 7.715 MB / 0.8262 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 () * Number of clocked 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.002494/1.058, allocations: 2.362 MB / 1.069 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00455/1.063, allocations: 2.951 MB / 1.072 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.063, allocations: 0 / 1.072 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007798/1.063, allocations: 0.5768 MB / 1.073 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/1.065, allocations: 170.7 kB / 1.073 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/1.081, allocations: 10.63 MB / 1.083 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002235/1.084, allocations: 2.113 MB / 1.085 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00268/1.086, allocations: 1.019 MB / 1.086 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009967/1.087, allocations: 0.7648 MB / 1.087 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of SimCode: time 1.302e-06/1.087, allocations: 0 / 1.087 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04713/1.135, allocations: 28.9 MB / 1.115 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/1.135, allocations: 219 kB / 1.116 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/3.295, allocations: 3.375 kB / 1.116 GB, free: 5.477 MB / 0.8731 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