Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",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.716/2.716, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001139/0.001139, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.586/1.586, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 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.000854/0.000854, allocations: 89.36 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.03e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2819, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.332, allocations: 198.8 MB / 1.4 GB, free: 8.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.332, allocations: 94.69 kB / 1.4 GB, free: 8.879 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2716/1.604, allocations: 112.1 MB / 1.51 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.254e-06/1.604, allocations: 0 / 1.51 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001177/1.604, allocations: 59.98 kB / 1.51 GB, free: 7.586 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.008271/1.613, allocations: 2.355 MB / 1.512 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.613, allocations: 12.03 kB / 1.512 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/1.625, allocations: 1.904 MB / 1.514 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/1.63, allocations: 1.67 MB / 1.516 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/1.63, allocations: 96 kB / 1.516 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/1.632, allocations: 168 kB / 1.516 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009747/1.641, allocations: 3.94 MB / 1.52 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/1.654, allocations: 4.381 MB / 1.524 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.32e-05/1.654, allocations: 7.891 kB / 1.524 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004636/1.655, allocations: 11.92 kB / 1.524 GB, free: 8.844 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003987/1.655, allocations: 196.9 kB / 1.524 GB, free: 8.648 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/1.687, allocations: 22.12 MB / 1.546 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/1.69, allocations: 1.98 MB / 1.548 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/1.692, allocations: 1.138 MB / 1.549 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/1.692, allocations: 118.4 kB / 1.549 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.692, allocations: 59.84 kB / 1.549 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=116): time 3.356e-06/1.692, allocations: 0 / 1.549 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146): time 0.01479/1.707, allocations: 7.025 MB / 1.556 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.707, allocations: 226.9 kB / 1.556 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/1.709, allocations: 0.8861 MB / 1.557 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003854/1.709, allocations: 29.7 kB / 1.557 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009588/1.71, allocations: 1.235 MB / 1.558 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006891/1.711, allocations: 0.489 MB / 1.559 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/1.711, allocations: 0 / 1.559 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002758/1.711, allocations: 423 kB / 1.559 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/1.713, allocations: 1.238 MB / 1.56 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/1.716, allocations: 1.906 MB / 1.562 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/1.719, allocations: 1.852 MB / 1.564 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/1.719, allocations: 4 kB / 1.564 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.00813/1.727, allocations: 4.124 MB / 1.568 GB, free: 9.125 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003166/1.73, allocations: 8.618 MB / 1.576 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.58e-05/1.731, allocations: 24 kB / 1.576 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/1.733, allocations: 0.7545 MB / 1.577 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003662/1.736, allocations: 0.7604 MB / 1.578 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.75, allocations: 12.26 MB / 1.59 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/1.754, allocations: 427 kB / 1.59 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007006/1.755, allocations: 115.9 kB / 1.59 GB, free: 0.793 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.755, allocations: 7.953 kB / 1.59 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00851/1.764, allocations: 3.858 MB / 1.594 GB, free: 12.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.294e-05/1.764, allocations: 23.94 kB / 1.594 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/1.765, allocations: 0.6529 MB / 1.595 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/1.769, allocations: 0.7604 MB / 1.596 GB, free: 11.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.781, allocations: 11.76 MB / 1.607 GB, free: 15 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/1.785, allocations: 411.2 kB / 1.607 GB, free: 14.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006917/1.785, allocations: 111.9 kB / 1.607 GB, free: 14.49 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001001/1.786, allocations: 172.2 kB / 1.608 GB, free: 14.31 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006778/1.793, allocations: 2.998 MB / 1.611 GB, free: 11.29 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/1.794, allocations: 118.6 kB / 1.611 GB, free: 11.17 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007054/1.801, allocations: 3.418 MB / 1.614 GB, free: 7.695 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/1.801, allocations: 19.98 kB / 1.614 GB, free: 7.676 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/1.801, allocations: 8 kB / 1.614 GB, free: 7.668 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/1.801, allocations: 7.984 kB / 1.614 GB, free: 7.66 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/1.814, allocations: 6.699 MB / 1.621 GB, free: 0.7617 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.814, allocations: 4.141 kB / 1.621 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.817, allocations: 0.5153 MB / 1.621 GB, free: 248 kB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/1.819, allocations: 0.6256 MB / 1.622 GB, free: 15.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/1.819, allocations: 31.95 kB / 1.622 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/1.831, allocations: 11.57 MB / 1.633 GB, free: 3.301 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.831, allocations: 12.06 kB / 1.633 GB, free: 3.289 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/1.837, allocations: 3.588 MB / 1.637 GB, free: 15.42 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.838, allocations: 491.4 kB / 1.637 GB, free: 14.92 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004422/1.839, allocations: 15.92 kB / 1.637 GB, free: 14.9 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.842, allocations: 383.3 kB / 1.637 GB, free: 14.53 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/1.842, allocations: 129 kB / 1.638 GB, free: 14.4 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.842, allocations: 59.95 kB / 1.638 GB, free: 14.34 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001243/1.843, allocations: 0.6709 MB / 1.638 GB, free: 13.68 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.8e-07/1.843, allocations: 0 / 1.638 GB, free: 13.68 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.006471/1.85, allocations: 1.047 MB / 1.639 GB, free: 12.63 MB / 1.057 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008458/1.858, allocations: 6.025 MB / 1.645 GB, free: 6.383 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.87, allocations: 6.307 MB / 1.651 GB, free: 15.96 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/1.87, allocations: 4 kB / 1.651 GB, free: 15.96 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003557/1.874, allocations: 2.138 MB / 1.653 GB, free: 13.76 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.875, allocations: 126.7 kB / 1.654 GB, free: 13.64 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/1.898, allocations: 6.471 MB / 1.66 GB, free: 7.027 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/1.902, allocations: 2.339 MB / 1.662 GB, free: 4.652 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004733/1.907, allocations: 1.261 MB / 1.663 GB, free: 3.387 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.908, allocations: 0.8491 MB / 1.664 GB, free: 2.539 MB / 1.073 GB Notification: Performance of SimCode: time 1.092e-06/1.908, allocations: 0 / 1.664 GB, free: 2.539 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09985/2.008, allocations: 46.51 MB / 1.71 GB, free: 4.129 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/2.009, allocations: 171.8 kB / 1.71 GB, free: 3.934 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/5.187, allocations: 0 / 1.71 GB, free: 3.934 MB / 1.12 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat