Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",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.263/2.263, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009895/0.0009894, allocations: 184.8 kB / 487.4 MB, free: 5.043 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.497/1.497, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009557/0.0009558, allocations: 105.1 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.032e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2814, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8737/1.155, allocations: 198.4 MB / 1.4 GB, free: 9.414 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/1.156, allocations: 93.5 kB / 1.4 GB, free: 9.363 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2588/1.414, allocations: 113 MB / 1.51 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.735e-06/1.414, allocations: 3.984 kB / 1.51 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.599e-05/1.415, allocations: 60 kB / 1.51 GB, free: 7.113 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.005709/1.42, allocations: 2.432 MB / 1.513 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.42, allocations: 12.02 kB / 1.513 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/1.432, allocations: 1.912 MB / 1.515 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/1.438, allocations: 1.717 MB / 1.516 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/1.438, allocations: 100 kB / 1.516 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009431/1.439, allocations: 168 kB / 1.516 GB, free: 0.668 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007604/1.447, allocations: 4.061 MB / 1.52 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007424/1.454, allocations: 4.504 MB / 1.525 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/1.454, allocations: 3.984 kB / 1.525 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/1.454, allocations: 3.953 kB / 1.525 GB, free: 8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003197/1.455, allocations: 208.9 kB / 1.525 GB, free: 7.793 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.02651/1.481, allocations: 22.13 MB / 1.547 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/1.484, allocations: 1.988 MB / 1.549 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/1.486, allocations: 1.185 MB / 1.55 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/1.486, allocations: 118.4 kB / 1.55 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.486, allocations: 55.77 kB / 1.55 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 3.667e-06/1.486, allocations: 0 / 1.55 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.01374/1.5, allocations: 7.239 MB / 1.557 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.5, allocations: 230.9 kB / 1.557 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/1.501, allocations: 0.9096 MB / 1.558 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/1.501, allocations: 29.7 kB / 1.558 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007696/1.502, allocations: 1.25 MB / 1.559 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/1.503, allocations: 0.5005 MB / 1.56 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/1.503, allocations: 0 / 1.56 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002257/1.503, allocations: 435.2 kB / 1.56 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/1.505, allocations: 1.293 MB / 1.562 GB, free: 148 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/1.507, allocations: 1.951 MB / 1.563 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003483/1.51, allocations: 1.906 MB / 1.565 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.511, allocations: 4 kB / 1.565 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008036/1.519, allocations: 4.234 MB / 1.569 GB, free: 7.723 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003791/1.522, allocations: 8.45 MB / 1.578 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/1.522, allocations: 20 kB / 1.578 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/1.525, allocations: 0.7349 MB / 1.578 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003757/1.528, allocations: 0.776 MB / 1.579 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/1.543, allocations: 12.21 MB / 1.591 GB, free: 156 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/1.547, allocations: 438.9 kB / 1.592 GB, free: 15.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/1.547, allocations: 119.9 kB / 1.592 GB, free: 15.61 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.547, allocations: 4 kB / 1.592 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007462/1.555, allocations: 3.952 MB / 1.596 GB, free: 11.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.065e-05/1.555, allocations: 20 kB / 1.596 GB, free: 11.61 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/1.556, allocations: 0.6532 MB / 1.596 GB, free: 10.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003371/1.56, allocations: 0.7721 MB / 1.597 GB, free: 10.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/1.571, allocations: 11.74 MB / 1.608 GB, free: 13.73 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/1.575, allocations: 411.1 kB / 1.609 GB, free: 13.33 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/1.575, allocations: 112 kB / 1.609 GB, free: 13.22 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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.000631/1.576, allocations: 172.2 kB / 1.609 GB, free: 13.05 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006393/1.582, allocations: 3.104 MB / 1.612 GB, free: 9.914 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/1.583, allocations: 122.6 kB / 1.612 GB, free: 9.793 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/1.589, allocations: 3.633 MB / 1.616 GB, free: 6.102 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.589, allocations: 16 kB / 1.616 GB, free: 6.086 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/1.589, allocations: 12 kB / 1.616 GB, free: 6.074 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/1.59, allocations: 11.97 kB / 1.616 GB, free: 6.062 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.601, allocations: 6.705 MB / 1.622 GB, free: 15.18 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.601, allocations: 12.16 kB / 1.622 GB, free: 15.16 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.604, allocations: 0.5225 MB / 1.623 GB, free: 14.64 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/1.605, allocations: 0.6183 MB / 1.623 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.605, allocations: 31.89 kB / 1.623 GB, free: 13.97 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/1.617, allocations: 11.53 MB / 1.635 GB, free: 1.754 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/1.617, allocations: 11.94 kB / 1.635 GB, free: 1.742 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006287/1.623, allocations: 3.63 MB / 1.638 GB, free: 13.83 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.624, allocations: 0.4955 MB / 1.639 GB, free: 13.32 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.625, allocations: 8 kB / 1.639 GB, free: 13.31 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.627, allocations: 387.2 kB / 1.639 GB, free: 12.93 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/1.627, allocations: 129 kB / 1.639 GB, free: 12.8 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.628, allocations: 59.91 kB / 1.639 GB, free: 12.75 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001095/1.629, allocations: 0.7099 MB / 1.64 GB, free: 12.04 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.785e-06/1.629, allocations: 0 / 1.64 GB, free: 12.04 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004393/1.633, allocations: 1.078 MB / 1.641 GB, free: 10.96 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 (105): * Single equations (assignments): 99 * 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.007602/1.641, allocations: 6.075 MB / 1.647 GB, free: 4.656 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.653, allocations: 6.454 MB / 1.653 GB, free: 14.09 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.653, allocations: 0 / 1.653 GB, free: 14.09 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003983/1.657, allocations: 2.18 MB / 1.655 GB, free: 11.85 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.658, allocations: 124.6 kB / 1.656 GB, free: 11.73 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/1.677, allocations: 6.581 MB / 1.662 GB, free: 5.008 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/1.68, allocations: 2.386 MB / 1.664 GB, free: 2.586 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004298/1.684, allocations: 1.327 MB / 1.666 GB, free: 1.254 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.686, allocations: 0.8663 MB / 1.666 GB, free: 396 kB / 1.073 GB Notification: Performance of SimCode: time 1.823e-06/1.686, allocations: 0 / 1.666 GB, free: 396 kB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08524/1.771, allocations: 47.39 MB / 1.713 GB, free: 1.113 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.771, allocations: 180.1 kB / 1.713 GB, free: 0.9219 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/5.053, allocations: 1.719 kB / 1.713 GB, free: 0.9219 MB / 1.12 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat does not exist to compare? outputFormat=mat