Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",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.237/2.237, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001088/0.001088, allocations: 177 kB / 498.1 MB, free: 5.719 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.508/1.508, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0008969/0.0008971, allocations: 107 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003632, allocations: 10.28 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2824, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2362/0.5186, allocations: 203.9 MB / 1.422 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.519, allocations: 103.9 kB / 1.422 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9456/1.465, allocations: 129.2 MB / 1.548 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.408e-06/1.465, allocations: 4 kB / 1.548 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001852/1.465, allocations: 56 kB / 1.548 GB, free: 102.3 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.009843/1.475, allocations: 2.54 MB / 1.551 GB, free: 99.74 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.475, allocations: 8.031 kB / 1.551 GB, free: 99.73 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002592/1.477, allocations: 466.1 kB / 1.551 GB, free: 99.27 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/1.49, allocations: 2.052 MB / 1.553 GB, free: 97.21 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006834/1.497, allocations: 1.802 MB / 1.555 GB, free: 95.36 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/1.497, allocations: 217.8 kB / 1.555 GB, free: 95.14 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002353/1.5, allocations: 284 kB / 1.556 GB, free: 94.87 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/1.515, allocations: 5.466 MB / 1.561 GB, free: 89.33 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.936e-05/1.515, allocations: 8 kB / 1.561 GB, free: 89.32 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003974/1.515, allocations: 123.9 kB / 1.561 GB, free: 89.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004116/1.516, allocations: 250 kB / 1.561 GB, free: 88.95 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/1.53, allocations: 5.664 MB / 1.567 GB, free: 83.28 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02917/1.559, allocations: 22.43 MB / 1.589 GB, free: 58.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/1.564, allocations: 2.526 MB / 1.591 GB, free: 56.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/1.565, allocations: 110.1 kB / 1.591 GB, free: 56.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/1.565, allocations: 47.55 kB / 1.591 GB, free: 56.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=122): time 3.687e-06/1.565, allocations: 0 / 1.591 GB, free: 56.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=173): time 0.04997/1.615, allocations: 14.72 MB / 1.606 GB, free: 41.31 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/1.615, allocations: 77.39 kB / 1.606 GB, free: 41.23 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/1.616, allocations: 1.033 MB / 1.607 GB, free: 40.17 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/1.617, allocations: 53.7 kB / 1.607 GB, free: 40.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/1.617, allocations: 1.266 MB / 1.608 GB, free: 38.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005194/1.618, allocations: 0.5931 MB / 1.609 GB, free: 38.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.618, allocations: 48 kB / 1.609 GB, free: 38.18 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.618, allocations: 447.5 kB / 1.609 GB, free: 37.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004735/1.623, allocations: 2.007 MB / 1.611 GB, free: 35.72 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00454/1.627, allocations: 2.722 MB / 1.614 GB, free: 32.68 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004658/1.632, allocations: 2.359 MB / 1.616 GB, free: 30.32 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/1.632, allocations: 8 kB / 1.616 GB, free: 30.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0136/1.646, allocations: 6.172 MB / 1.622 GB, free: 24.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001763/1.648, allocations: 8.873 MB / 1.631 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/1.648, allocations: 24 kB / 1.631 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004091/1.652, allocations: 1.398 MB / 1.632 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/1.655, allocations: 0.7643 MB / 1.633 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/1.674, allocations: 17.76 MB / 1.65 GB, free: 9.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003919/1.678, allocations: 499 kB / 1.651 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004126/1.679, allocations: 116 kB / 1.651 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.679, allocations: 5.234 kB / 1.651 GB, free: 9.164 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01473/1.694, allocations: 6.012 MB / 1.657 GB, free: 3.129 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.85e-05/1.694, allocations: 24 kB / 1.657 GB, free: 3.105 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004065/1.698, allocations: 1.372 MB / 1.658 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/1.702, allocations: 0.7682 MB / 1.659 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/1.723, allocations: 17.59 MB / 1.676 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/1.727, allocations: 475.1 kB / 1.676 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/1.727, allocations: 120 kB / 1.677 GB, free: 13.97 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002764/1.73, allocations: 1.325 MB / 1.678 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/1.731, allocations: 138.4 kB / 1.678 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.744, allocations: 5.766 MB / 1.684 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.744, allocations: 16 kB / 1.684 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/1.745, allocations: 12 kB / 1.684 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/1.745, allocations: 7.969 kB / 1.684 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/1.765, allocations: 9.337 MB / 1.693 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.765, allocations: 4 kB / 1.693 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002673/1.768, allocations: 0.5231 MB / 1.693 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003814/1.772, allocations: 1.187 MB / 1.694 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002873/1.772, allocations: 51.95 kB / 1.694 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02226/1.794, allocations: 17.03 MB / 1.711 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.539e-05/1.794, allocations: 11.94 kB / 1.711 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.807, allocations: 5.339 MB / 1.716 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.809, allocations: 0.5499 MB / 1.717 GB, free: 3.297 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.809, allocations: 36 kB / 1.717 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.812, allocations: 447.1 kB / 1.717 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004426/1.812, allocations: 156.9 kB / 1.717 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.812, allocations: 63.97 kB / 1.718 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001348/1.814, allocations: 0.8051 MB / 1.718 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.21e-07/1.814, allocations: 0 / 1.718 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004787/1.819, allocations: 1.328 MB / 1.72 GB, free: 476 kB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (104): * Single equations (assignments): 98 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/1.833, allocations: 7.804 MB / 1.727 GB, free: 8.426 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02373/1.856, allocations: 9.543 MB / 1.737 GB, free: 14.73 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.857, allocations: 0 / 1.737 GB, free: 14.73 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008575/1.865, allocations: 3.313 MB / 1.74 GB, free: 11.34 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/1.867, allocations: 191.2 kB / 1.74 GB, free: 11.16 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05864/1.925, allocations: 35.38 MB / 1.775 GB, free: 6.965 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002919/1.928, allocations: 2.422 MB / 1.777 GB, free: 4.508 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.004178/1.933, allocations: 1.258 MB / 1.778 GB, free: 3.242 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.934, allocations: 0.9171 MB / 1.779 GB, free: 2.324 MB / 1.057 GB Notification: Performance of SimCode: time 1.643e-06/1.934, allocations: 0 / 1.779 GB, free: 2.324 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/2.04, allocations: 60.21 MB / 1.838 GB, free: 6.527 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/2.041, allocations: 232.7 kB / 1.838 GB, free: 6.289 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.812/5.853, allocations: 6.094 kB / 1.838 GB, free: 6.285 MB / 1.12 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat does not exist to compare? outputFormat=mat