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.258/2.258, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.001607/0.001607, allocations: 176.4 kB / 492.3 MB, free: 0.625 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.449/1.449, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009233/0.0009233, allocations: 95.83 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.695e-05, allocations: 1.953 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2489, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9661/1.215, allocations: 199.1 MB / 1.407 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.215, allocations: 100.5 kB / 1.407 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2625/1.478, allocations: 109.7 MB / 1.514 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.033e-06/1.478, allocations: 0 / 1.514 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001031/1.478, allocations: 59.98 kB / 1.514 GB, free: 1.711 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.006858/1.485, allocations: 2.338 MB / 1.516 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/1.485, allocations: 8.031 kB / 1.516 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001213/1.486, allocations: 449.5 kB / 1.517 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/1.498, allocations: 1.896 MB / 1.519 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004398/1.503, allocations: 1.658 MB / 1.52 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/1.503, allocations: 213.8 kB / 1.521 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008797/1.504, allocations: 276 kB / 1.521 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009834/1.514, allocations: 4.735 MB / 1.525 GB, free: 5.938 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.053e-05/1.514, allocations: 3.938 kB / 1.525 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/1.514, allocations: 120 kB / 1.526 GB, free: 5.816 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003278/1.514, allocations: 204.6 kB / 1.526 GB, free: 5.613 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008294/1.523, allocations: 4.374 MB / 1.53 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03047/1.553, allocations: 22.47 MB / 1.552 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/1.557, allocations: 2.512 MB / 1.554 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/1.56, allocations: 1.465 MB / 1.556 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/1.56, allocations: 126 kB / 1.556 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/1.56, allocations: 51.55 kB / 1.556 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 3.637e-06/1.56, allocations: 0 / 1.556 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.031/1.591, allocations: 10.03 MB / 1.566 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.591, allocations: 230.9 kB / 1.566 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/1.593, allocations: 0.8586 MB / 1.567 GB, free: 9.152 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002994/1.593, allocations: 49.7 kB / 1.567 GB, free: 9.098 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/1.594, allocations: 1.154 MB / 1.568 GB, free: 7.926 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007346/1.594, allocations: 0.5969 MB / 1.569 GB, free: 7.32 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/1.595, allocations: 44 kB / 1.569 GB, free: 7.277 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002698/1.595, allocations: 431.2 kB / 1.569 GB, free: 6.848 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/1.597, allocations: 1.347 MB / 1.57 GB, free: 5.496 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/1.6, allocations: 1.934 MB / 1.572 GB, free: 3.309 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/1.603, allocations: 1.673 MB / 1.574 GB, free: 1.637 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/1.603, allocations: 4 kB / 1.574 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008107/1.611, allocations: 4.312 MB / 1.578 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002597/1.614, allocations: 7.052 MB / 1.585 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/1.614, allocations: 19.95 kB / 1.585 GB, free: 5.684 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/1.616, allocations: 1.075 MB / 1.586 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/1.62, allocations: 0.737 MB / 1.587 GB, free: 3.863 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/1.634, allocations: 10.12 MB / 1.597 GB, free: 9.473 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/1.638, allocations: 471 kB / 1.597 GB, free: 9.012 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007174/1.639, allocations: 108 kB / 1.597 GB, free: 8.906 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.639, allocations: 5.406 kB / 1.597 GB, free: 8.902 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008859/1.648, allocations: 4.167 MB / 1.601 GB, free: 4.727 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-05/1.648, allocations: 20 kB / 1.601 GB, free: 4.707 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/1.65, allocations: 0.8839 MB / 1.602 GB, free: 3.816 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003572/1.654, allocations: 0.7331 MB / 1.603 GB, free: 3.082 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.668, allocations: 10.09 MB / 1.613 GB, free: 8.723 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/1.671, allocations: 451.2 kB / 1.613 GB, free: 8.281 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006051/1.672, allocations: 107.9 kB / 1.613 GB, free: 8.176 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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.001006/1.673, allocations: 236.1 kB / 1.613 GB, free: 7.938 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006263/1.673, allocations: 126.5 kB / 1.614 GB, free: 7.812 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008008/1.681, allocations: 3.931 MB / 1.617 GB, free: 3.844 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/1.681, allocations: 20 kB / 1.617 GB, free: 3.824 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.532e-05/1.681, allocations: 15.94 kB / 1.617 GB, free: 3.809 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/1.681, allocations: 7.969 kB / 1.617 GB, free: 3.801 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/1.696, allocations: 7.903 MB / 1.625 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.696, allocations: 4 kB / 1.625 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.699, allocations: 0.5311 MB / 1.626 GB, free: 11.17 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/1.701, allocations: 0.8836 MB / 1.627 GB, free: 10.28 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/1.701, allocations: 59.91 kB / 1.627 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.714, allocations: 9.709 MB / 1.636 GB, free: 244 kB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/1.714, allocations: 8 kB / 1.636 GB, free: 236 kB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006879/1.721, allocations: 4.096 MB / 1.64 GB, free: 11.83 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.722, allocations: 0.5188 MB / 1.641 GB, free: 11.29 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/1.723, allocations: 36 kB / 1.641 GB, free: 11.25 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.726, allocations: 403.3 kB / 1.641 GB, free: 10.86 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/1.726, allocations: 156.9 kB / 1.641 GB, free: 10.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.726, allocations: 67.95 kB / 1.641 GB, free: 10.64 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001197/1.727, allocations: 0.6709 MB / 1.642 GB, free: 9.973 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.5e-07/1.727, allocations: 0 / 1.642 GB, free: 9.973 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004418/1.732, allocations: 1.234 MB / 1.643 GB, free: 8.738 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 101 * 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.008139/1.74, allocations: 6.843 MB / 1.65 GB, free: 1.656 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.752, allocations: 6.435 MB / 1.656 GB, free: 11.17 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.752, allocations: 1.938 kB / 1.656 GB, free: 11.17 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004107/1.757, allocations: 2.11 MB / 1.658 GB, free: 9.035 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/1.758, allocations: 153.8 kB / 1.658 GB, free: 8.887 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.779, allocations: 6.775 MB / 1.665 GB, free: 1.961 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003448/1.783, allocations: 2.355 MB / 1.667 GB, free: 15.56 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.00455/1.787, allocations: 1.256 MB / 1.668 GB, free: 14.3 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/1.789, allocations: 0.8546 MB / 1.669 GB, free: 13.45 MB / 1.089 GB Notification: Performance of SimCode: time 7.31e-07/1.789, allocations: 0 / 1.669 GB, free: 13.45 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09281/1.882, allocations: 51.71 MB / 1.72 GB, free: 10.07 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/1.882, allocations: 204.9 kB / 1.72 GB, free: 9.852 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.272/5.154, allocations: 0 / 1.72 GB, free: 9.852 MB / 1.135 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