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.467/2.467, allocations: 390.5 MB / 398 MB, free: 10.99 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.00116/0.00116, allocations: 176.2 kB / 491.2 MB, free: 1.629 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.601/1.601, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009907/0.0009906, allocations: 103.4 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.863e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2665, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9739/1.241, allocations: 199.2 MB / 1.407 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.241, allocations: 94.12 kB / 1.407 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2757/1.517, allocations: 109.3 MB / 1.514 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.615e-06/1.517, allocations: 0 / 1.514 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001555/1.517, allocations: 59.98 kB / 1.514 GB, free: 2.473 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.008619/1.525, allocations: 2.337 MB / 1.516 GB, free: 80 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/1.525, allocations: 8.031 kB / 1.516 GB, free: 72 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/1.538, allocations: 1.896 MB / 1.518 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004676/1.542, allocations: 1.662 MB / 1.52 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/1.543, allocations: 92 kB / 1.52 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001562/1.544, allocations: 164 kB / 1.52 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01043/1.555, allocations: 3.94 MB / 1.524 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/1.568, allocations: 4.308 MB / 1.528 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/1.568, allocations: 11.89 kB / 1.528 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/1.569, allocations: 0 / 1.528 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004167/1.569, allocations: 196.8 kB / 1.528 GB, free: 3.66 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02816/1.597, allocations: 21.82 MB / 1.549 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/1.601, allocations: 2.482 MB / 1.552 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/1.603, allocations: 1.333 MB / 1.553 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/1.603, allocations: 118.4 kB / 1.553 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/1.603, allocations: 59.77 kB / 1.553 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 3.767e-06/1.603, allocations: 0 / 1.553 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.015/1.618, allocations: 7.72 MB / 1.561 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.618, allocations: 222.9 kB / 1.561 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/1.62, allocations: 0.8156 MB / 1.562 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002946/1.62, allocations: 25.7 kB / 1.562 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/1.621, allocations: 1.15 MB / 1.563 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006526/1.621, allocations: 0.5736 MB / 1.564 GB, free: 13 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.622, allocations: 0 / 1.564 GB, free: 13 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002499/1.622, allocations: 427.2 kB / 1.564 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/1.624, allocations: 1.328 MB / 1.565 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/1.626, allocations: 1.889 MB / 1.567 GB, free: 9.105 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/1.63, allocations: 1.965 MB / 1.569 GB, free: 7.145 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.468e-05/1.63, allocations: 8 kB / 1.569 GB, free: 7.137 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008778/1.639, allocations: 4.503 MB / 1.573 GB, free: 2.621 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003116/1.642, allocations: 6.886 MB / 1.58 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/1.642, allocations: 16 kB / 1.58 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/1.645, allocations: 0.9967 MB / 1.581 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/1.648, allocations: 0.7331 MB / 1.582 GB, free: 9.445 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/1.663, allocations: 10.06 MB / 1.592 GB, free: 15.15 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/1.666, allocations: 427 kB / 1.592 GB, free: 14.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005/1.667, allocations: 107.9 kB / 1.592 GB, free: 14.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.667, allocations: 8 kB / 1.592 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008404/1.675, allocations: 4.225 MB / 1.596 GB, free: 10.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.137e-05/1.675, allocations: 16 kB / 1.596 GB, free: 10.37 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/1.677, allocations: 0.8448 MB / 1.597 GB, free: 9.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/1.681, allocations: 0.7409 MB / 1.598 GB, free: 8.777 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.694, allocations: 9.615 MB / 1.607 GB, free: 14.93 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/1.698, allocations: 411.1 kB / 1.608 GB, free: 14.52 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006884/1.698, allocations: 104 kB / 1.608 GB, free: 14.42 MB / 1.026 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.001079/1.7, allocations: 168.3 kB / 1.608 GB, free: 14.25 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00724/1.707, allocations: 3.506 MB / 1.611 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/1.707, allocations: 118.6 kB / 1.611 GB, free: 10.61 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008191/1.716, allocations: 4.017 MB / 1.615 GB, free: 6.555 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/1.716, allocations: 16 kB / 1.615 GB, free: 6.539 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/1.716, allocations: 15.98 kB / 1.615 GB, free: 6.523 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/1.716, allocations: 15.92 kB / 1.615 GB, free: 6.508 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/1.731, allocations: 7.335 MB / 1.623 GB, free: 15 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/1.731, allocations: 8 kB / 1.623 GB, free: 15 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.734, allocations: 0.5191 MB / 1.623 GB, free: 14.48 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/1.737, allocations: 0.8683 MB / 1.624 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003773/1.737, allocations: 31.95 kB / 1.624 GB, free: 13.57 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/1.751, allocations: 9.361 MB / 1.633 GB, free: 3.969 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/1.751, allocations: 11.94 kB / 1.633 GB, free: 3.957 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007222/1.758, allocations: 4.107 MB / 1.637 GB, free: 15.59 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.759, allocations: 0.515 MB / 1.638 GB, free: 15.05 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004263/1.76, allocations: 15.98 kB / 1.638 GB, free: 15.04 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/1.762, allocations: 379.3 kB / 1.638 GB, free: 14.66 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/1.763, allocations: 144.9 kB / 1.638 GB, free: 14.52 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.763, allocations: 75.91 kB / 1.638 GB, free: 14.45 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0012/1.764, allocations: 0.624 MB / 1.639 GB, free: 13.82 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.3e-07/1.764, allocations: 0 / 1.639 GB, free: 13.82 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.005639/1.77, allocations: 1.098 MB / 1.64 GB, free: 12.73 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): 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.009143/1.779, allocations: 6.545 MB / 1.646 GB, free: 5.977 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.792, allocations: 6.138 MB / 1.652 GB, free: 15.79 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.792, allocations: 0 / 1.652 GB, free: 15.79 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004082/1.796, allocations: 2.033 MB / 1.654 GB, free: 13.74 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/1.798, allocations: 126.7 kB / 1.654 GB, free: 13.62 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/1.821, allocations: 6.589 MB / 1.661 GB, free: 6.898 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003884/1.825, allocations: 2.351 MB / 1.663 GB, free: 4.508 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004786/1.83, allocations: 1.257 MB / 1.664 GB, free: 3.246 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/1.832, allocations: 0.839 MB / 1.665 GB, free: 2.41 MB / 1.073 GB Notification: Performance of SimCode: time 1.252e-06/1.832, allocations: 0 / 1.665 GB, free: 2.41 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09931/1.931, allocations: 50.75 MB / 1.715 GB, free: 15.8 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/1.932, allocations: 185.2 kB / 1.715 GB, free: 15.61 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/5.137, allocations: 4 kB / 1.715 GB, free: 15.61 MB / 1.135 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