Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",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.386/2.386, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.00114/0.001139, allocations: 172.8 kB / 487.4 MB, free: 5.039 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.542/1.542, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.0008758/0.0008757, allocations: 93.34 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.917e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3017, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9086/1.21, allocations: 198.4 MB / 1.4 GB, free: 9.461 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.211, allocations: 98.05 kB / 1.4 GB, free: 9.406 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2596/1.47, allocations: 109.3 MB / 1.507 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.673e-06/1.47, allocations: 4 kB / 1.507 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.441e-05/1.471, allocations: 63.92 kB / 1.507 GB, free: 10.92 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.004774/1.475, allocations: 2.334 MB / 1.509 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.475, allocations: 8.562 kB / 1.509 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/1.486, allocations: 1.904 MB / 1.511 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/1.49, allocations: 1.654 MB / 1.512 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/1.49, allocations: 92 kB / 1.513 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005149/1.491, allocations: 164 kB / 1.513 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007471/1.498, allocations: 3.943 MB / 1.517 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008567/1.507, allocations: 4.312 MB / 1.521 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.277e-05/1.507, allocations: 4 kB / 1.521 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/1.507, allocations: 7.891 kB / 1.521 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003329/1.507, allocations: 192.8 kB / 1.521 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03635/1.544, allocations: 21.82 MB / 1.542 GB, free: 4.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/1.549, allocations: 2.478 MB / 1.545 GB, free: 1.617 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003161/1.552, allocations: 1.325 MB / 1.546 GB, free: 280 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/1.552, allocations: 126.3 kB / 1.546 GB, free: 136 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.752e-05/1.553, allocations: 55.77 kB / 1.546 GB, free: 72 kB / 0.948 GB Notification: Performance of pre-optimization done (n=132): time 6.743e-06/1.553, allocations: 0 / 1.546 GB, free: 72 kB / 0.948 GB Notification: Performance of matching and sorting (n=174): time 0.02476/1.577, allocations: 7.72 MB / 1.554 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/1.578, allocations: 230.9 kB / 1.554 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/1.579, allocations: 0.8117 MB / 1.555 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003984/1.58, allocations: 25.7 kB / 1.555 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/1.581, allocations: 1.15 MB / 1.556 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/1.582, allocations: 0.5697 MB / 1.556 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/1.582, allocations: 0 / 1.556 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003726/1.583, allocations: 427.2 kB / 1.557 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/1.586, allocations: 1.336 MB / 1.558 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/1.59, allocations: 1.885 MB / 1.56 GB, free: 1.543 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005637/1.595, allocations: 1.981 MB / 1.562 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.222e-05/1.595, allocations: 8 kB / 1.562 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01393/1.609, allocations: 4.484 MB / 1.566 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003711/1.613, allocations: 6.882 MB / 1.573 GB, free: 3.641 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.237e-05/1.613, allocations: 20 kB / 1.573 GB, free: 3.621 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/1.617, allocations: 0.9927 MB / 1.574 GB, free: 2.621 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005028/1.622, allocations: 0.7331 MB / 1.575 GB, free: 1.887 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/1.641, allocations: 10.05 MB / 1.584 GB, free: 7.602 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.645, allocations: 423 kB / 1.585 GB, free: 7.188 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006575/1.646, allocations: 108 kB / 1.585 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.646, allocations: 5.875 kB / 1.585 GB, free: 7.078 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009361/1.655, allocations: 4.237 MB / 1.589 GB, free: 2.832 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.136e-05/1.655, allocations: 20 kB / 1.589 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/1.657, allocations: 0.8452 MB / 1.59 GB, free: 1.961 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/1.661, allocations: 0.7409 MB / 1.591 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/1.674, allocations: 9.618 MB / 1.6 GB, free: 7.359 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/1.678, allocations: 415.1 kB / 1.6 GB, free: 6.953 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006928/1.678, allocations: 104 kB / 1.601 GB, free: 6.852 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009375/1.679, allocations: 164.4 kB / 1.601 GB, free: 6.684 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007776/1.687, allocations: 3.502 MB / 1.604 GB, free: 3.164 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/1.688, allocations: 122.6 kB / 1.604 GB, free: 3.043 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008657/1.696, allocations: 4.017 MB / 1.608 GB, free: 14.99 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/1.696, allocations: 16 kB / 1.608 GB, free: 14.97 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.769e-05/1.697, allocations: 16 kB / 1.608 GB, free: 14.96 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/1.697, allocations: 11.97 kB / 1.608 GB, free: 14.95 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/1.711, allocations: 7.331 MB / 1.615 GB, free: 7.445 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/1.711, allocations: 8.141 kB / 1.615 GB, free: 7.438 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/1.714, allocations: 0.5264 MB / 1.616 GB, free: 6.91 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/1.716, allocations: 0.8604 MB / 1.617 GB, free: 6.043 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/1.717, allocations: 35.91 kB / 1.617 GB, free: 6.008 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.729, allocations: 9.369 MB / 1.626 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/1.729, allocations: 11.94 kB / 1.626 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007282/1.736, allocations: 4.103 MB / 1.63 GB, free: 8.027 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.738, allocations: 0.5189 MB / 1.63 GB, free: 7.488 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/1.738, allocations: 8 kB / 1.63 GB, free: 7.48 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/1.741, allocations: 383.2 kB / 1.631 GB, free: 7.105 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/1.741, allocations: 149 kB / 1.631 GB, free: 6.961 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.741, allocations: 63.95 kB / 1.631 GB, free: 6.898 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001025/1.742, allocations: 0.6279 MB / 1.632 GB, free: 6.27 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.9e-07/1.742, allocations: 3.938 kB / 1.632 GB, free: 6.266 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.004538/1.747, allocations: 1.098 MB / 1.633 GB, free: 5.168 MB / 1.042 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): 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007961/1.755, allocations: 6.536 MB / 1.639 GB, free: 14.42 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.766, allocations: 6.156 MB / 1.645 GB, free: 8.23 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.766, allocations: 2.625 kB / 1.645 GB, free: 8.23 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003779/1.77, allocations: 2.028 MB / 1.647 GB, free: 6.18 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.771, allocations: 125.2 kB / 1.647 GB, free: 6.062 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/1.792, allocations: 6.589 MB / 1.654 GB, free: 15.34 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/1.795, allocations: 2.355 MB / 1.656 GB, free: 12.94 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004358/1.799, allocations: 1.252 MB / 1.657 GB, free: 11.68 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/1.801, allocations: 0.839 MB / 1.658 GB, free: 10.84 MB / 1.073 GB Notification: Performance of SimCode: time 1.362e-06/1.801, allocations: 3.938 kB / 1.658 GB, free: 10.84 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09213/1.893, allocations: 50.75 MB / 1.708 GB, free: 8.227 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.893, allocations: 182.2 kB / 1.708 GB, free: 8.035 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.135/5.028, allocations: 1.891 kB / 1.708 GB, free: 8.035 MB / 1.12 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat does not exist to compare? outputFormat=mat