Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.449/2.449, allocations: 393.5 MB / 408.4 MB, free: 11 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.001216/0.001216, allocations: 180 kB / 0.4901 GB, free: 2.227 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.618/1.618, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.0008303/0.0008305, allocations: 91.2 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 9.281 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2663, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.835/1.101, allocations: 199.9 MB / 1.425 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.102, allocations: 103.9 kB / 1.425 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2481/1.35, allocations: 110.2 MB / 1.532 GB, free: 78.74 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.437e-06/1.35, allocations: 0 / 1.532 GB, free: 78.74 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001406/1.35, allocations: 59.92 kB / 1.532 GB, free: 78.68 MB / 0.9011 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.01296/1.363, allocations: 2.404 MB / 1.535 GB, free: 76.21 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 9.109e-05/1.363, allocations: 16.81 kB / 1.535 GB, free: 76.2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003549/1.367, allocations: 437.6 kB / 1.535 GB, free: 75.76 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/1.387, allocations: 1.896 MB / 1.537 GB, free: 73.86 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0077/1.395, allocations: 1.667 MB / 1.539 GB, free: 72.15 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/1.395, allocations: 217.8 kB / 1.539 GB, free: 71.93 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/1.397, allocations: 276 kB / 1.539 GB, free: 71.66 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02516/1.422, allocations: 5.239 MB / 1.544 GB, free: 66.32 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/1.423, allocations: 3.984 kB / 1.544 GB, free: 66.32 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001668/1.424, allocations: 119.9 kB / 1.544 GB, free: 66.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005067/1.425, allocations: 192.8 kB / 1.544 GB, free: 66.01 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02404/1.449, allocations: 5.369 MB / 1.55 GB, free: 60.63 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04465/1.494, allocations: 22.49 MB / 1.572 GB, free: 36.11 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00816/1.502, allocations: 2.997 MB / 1.575 GB, free: 32.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/1.502, allocations: 118 kB / 1.575 GB, free: 32.82 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.093e-05/1.502, allocations: 59.5 kB / 1.575 GB, free: 32.75 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=132): time 6.341e-06/1.502, allocations: 0 / 1.575 GB, free: 32.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=174): time 0.06428/1.567, allocations: 12.94 MB / 1.587 GB, free: 19.76 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/1.567, allocations: 230.9 kB / 1.588 GB, free: 19.48 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.569, allocations: 0.8625 MB / 1.588 GB, free: 18.61 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004955/1.569, allocations: 53.7 kB / 1.588 GB, free: 18.55 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/1.57, allocations: 1.158 MB / 1.59 GB, free: 17.38 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007554/1.571, allocations: 0.5853 MB / 1.59 GB, free: 16.79 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/1.571, allocations: 44 kB / 1.59 GB, free: 16.74 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002145/1.571, allocations: 427.2 kB / 1.591 GB, free: 16.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006695/1.578, allocations: 1.846 MB / 1.592 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00723/1.585, allocations: 2.427 MB / 1.595 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006894/1.592, allocations: 2.149 MB / 1.597 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.592, allocations: 7.938 kB / 1.597 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0159/1.608, allocations: 5.302 MB / 1.602 GB, free: 4.316 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002548/1.61, allocations: 6.878 MB / 1.609 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.047e-05/1.611, allocations: 20.56 kB / 1.609 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003172/1.614, allocations: 1.082 MB / 1.61 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/1.618, allocations: 0.7331 MB / 1.611 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/1.634, allocations: 10.6 MB / 1.621 GB, free: 184 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/1.638, allocations: 471 kB / 1.621 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006024/1.638, allocations: 104 kB / 1.621 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.639, allocations: 5.406 kB / 1.621 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01398/1.652, allocations: 5.169 MB / 1.627 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.89e-05/1.653, allocations: 20 kB / 1.627 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/1.655, allocations: 0.881 MB / 1.627 GB, free: 9.527 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/1.658, allocations: 0.7331 MB / 1.628 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.673, allocations: 10.55 MB / 1.638 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/1.676, allocations: 455.1 kB / 1.639 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006625/1.677, allocations: 107.9 kB / 1.639 GB, free: 13.42 MB / 0.948 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 () * Number of clocked 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.003221/1.68, allocations: 1.27 MB / 1.64 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006446/1.681, allocations: 130.5 kB / 1.64 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.694, allocations: 4.918 MB / 1.645 GB, free: 7.047 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/1.694, allocations: 16 kB / 1.645 GB, free: 7.031 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.729e-05/1.694, allocations: 15.98 kB / 1.645 GB, free: 7.016 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.122e-05/1.694, allocations: 11.97 kB / 1.645 GB, free: 7.004 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.716, allocations: 8.672 MB / 1.654 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/1.716, allocations: 12 kB / 1.654 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/1.719, allocations: 0.5265 MB / 1.654 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/1.721, allocations: 0.8887 MB / 1.655 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003802/1.722, allocations: 51.95 kB / 1.655 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/1.736, allocations: 10.12 MB / 1.665 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/1.737, allocations: 12 kB / 1.665 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.749, allocations: 5 MB / 1.67 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.751, allocations: 0.5111 MB / 1.67 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000546/1.751, allocations: 43.98 kB / 1.67 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/1.754, allocations: 399.3 kB / 1.671 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006479/1.755, allocations: 153 kB / 1.671 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/1.755, allocations: 63.95 kB / 1.671 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001393/1.757, allocations: 0.6747 MB / 1.672 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.71e-07/1.757, allocations: 4 kB / 1.672 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005256/1.762, allocations: 1.23 MB / 1.673 GB, free: 9.941 MB / 0.9792 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 (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.01302/1.775, allocations: 7.456 MB / 1.68 GB, free: 2.27 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01968/1.795, allocations: 7.937 MB / 1.688 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.795, allocations: 0 / 1.688 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006202/1.801, allocations: 2.601 MB / 1.69 GB, free: 7.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.802, allocations: 160.8 kB / 1.691 GB, free: 7.504 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06203/1.864, allocations: 29.84 MB / 1.72 GB, free: 8.973 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003995/1.868, allocations: 2.347 MB / 1.722 GB, free: 6.59 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.006102/1.874, allocations: 1.233 MB / 1.723 GB, free: 5.352 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002343/1.877, allocations: 0.8507 MB / 1.724 GB, free: 4.504 MB / 1.026 GB Notification: Performance of SimCode: time 1.523e-06/1.877, allocations: 0 / 1.724 GB, free: 4.504 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/1.988, allocations: 50.32 MB / 1.773 GB, free: 2.527 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/1.989, allocations: 242.6 kB / 1.773 GB, free: 2.285 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/5.218, allocations: 2.922 kB / 1.773 GB, free: 2.285 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat does not exist to compare? outputFormat=mat