Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",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.186/2.186, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001034/0.001034, allocations: 176.9 kB / 492.3 MB, free: 0.6211 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.43/1.43, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0008604/0.0008604, allocations: 99.42 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.516e-05/2.518e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2489, allocations: 142.4 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9237/1.173, allocations: 199.1 MB / 1.407 GB, free: 1.062 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/1.173, allocations: 96.28 kB / 1.407 GB, free: 1.012 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2716/1.445, allocations: 109.6 MB / 1.514 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.164e-06/1.445, allocations: 0 / 1.514 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001495/1.445, allocations: 60 kB / 1.514 GB, free: 1.777 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.008445/1.453, allocations: 2.338 MB / 1.516 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.453, allocations: 12.03 kB / 1.516 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002028/1.455, allocations: 445.5 kB / 1.517 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/1.468, allocations: 1.9 MB / 1.519 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00541/1.473, allocations: 1.65 MB / 1.52 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/1.474, allocations: 213.8 kB / 1.52 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/1.475, allocations: 288 kB / 1.521 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/1.488, allocations: 4.726 MB / 1.525 GB, free: 6.008 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/1.488, allocations: 3.938 kB / 1.525 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/1.488, allocations: 120 kB / 1.525 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003358/1.488, allocations: 196.6 kB / 1.526 GB, free: 5.691 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008459/1.497, allocations: 4.376 MB / 1.53 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03138/1.528, allocations: 22.48 MB / 1.552 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/1.532, allocations: 2.505 MB / 1.554 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/1.534, allocations: 1.465 MB / 1.556 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/1.535, allocations: 129.9 kB / 1.556 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/1.535, allocations: 51.56 kB / 1.556 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 3.426e-06/1.535, allocations: 3.938 kB / 1.556 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.02955/1.564, allocations: 10.02 MB / 1.566 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/1.564, allocations: 238.8 kB / 1.566 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.566, allocations: 0.8431 MB / 1.567 GB, free: 9.23 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002574/1.566, allocations: 53.7 kB / 1.567 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007959/1.567, allocations: 1.162 MB / 1.568 GB, free: 7.992 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006673/1.568, allocations: 0.6008 MB / 1.569 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/1.568, allocations: 44 kB / 1.569 GB, free: 7.34 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000231/1.568, allocations: 423.2 kB / 1.569 GB, free: 6.918 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/1.57, allocations: 1.347 MB / 1.57 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/1.573, allocations: 1.934 MB / 1.572 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/1.575, allocations: 1.665 MB / 1.574 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.575, allocations: 4 kB / 1.574 GB, free: 1.711 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007755/1.583, allocations: 4.327 MB / 1.578 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003907/1.587, allocations: 7.052 MB / 1.585 GB, free: 5.766 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.514e-05/1.587, allocations: 19.95 kB / 1.585 GB, free: 5.746 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/1.59, allocations: 1.094 MB / 1.586 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/1.594, allocations: 0.7292 MB / 1.587 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.608, allocations: 10.15 MB / 1.597 GB, free: 9.484 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/1.612, allocations: 467 kB / 1.597 GB, free: 9.027 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/1.612, allocations: 108.1 kB / 1.597 GB, free: 8.922 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.612, allocations: 8 kB / 1.597 GB, free: 8.914 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007619/1.62, allocations: 4.178 MB / 1.601 GB, free: 4.727 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.314e-05/1.62, allocations: 16 kB / 1.601 GB, free: 4.711 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/1.622, allocations: 0.8842 MB / 1.602 GB, free: 3.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/1.626, allocations: 0.7331 MB / 1.603 GB, free: 3.086 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/1.639, allocations: 10.1 MB / 1.613 GB, free: 8.711 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/1.643, allocations: 451.2 kB / 1.613 GB, free: 8.27 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007347/1.644, allocations: 111.9 kB / 1.613 GB, free: 8.16 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.0008339/1.645, allocations: 220.4 kB / 1.614 GB, free: 7.938 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005898/1.645, allocations: 126.5 kB / 1.614 GB, free: 7.812 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007597/1.653, allocations: 3.939 MB / 1.617 GB, free: 3.836 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/1.653, allocations: 20 kB / 1.617 GB, free: 3.816 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.653, allocations: 12 kB / 1.617 GB, free: 3.805 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/1.653, allocations: 7.969 kB / 1.618 GB, free: 3.797 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.666, allocations: 7.896 MB / 1.625 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.666, allocations: 4 kB / 1.625 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/1.669, allocations: 0.5303 MB / 1.626 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/1.671, allocations: 0.8803 MB / 1.627 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/1.671, allocations: 55.91 kB / 1.627 GB, free: 10.23 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/1.684, allocations: 9.682 MB / 1.636 GB, free: 284 kB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.684, allocations: 8 kB / 1.636 GB, free: 276 kB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007284/1.692, allocations: 4.108 MB / 1.64 GB, free: 11.86 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.693, allocations: 0.5188 MB / 1.641 GB, free: 11.32 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/1.693, allocations: 36 kB / 1.641 GB, free: 11.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/1.696, allocations: 403.3 kB / 1.641 GB, free: 10.89 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/1.696, allocations: 156.9 kB / 1.641 GB, free: 10.73 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.696, allocations: 67.95 kB / 1.641 GB, free: 10.67 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001049/1.697, allocations: 0.6669 MB / 1.642 GB, free: 10 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.4e-07/1.697, allocations: 0 / 1.642 GB, free: 10 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004106/1.702, allocations: 1.23 MB / 1.643 GB, free: 8.773 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.007291/1.709, allocations: 6.851 MB / 1.65 GB, free: 1.684 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.721, allocations: 6.421 MB / 1.656 GB, free: 11.22 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.721, allocations: 0 / 1.656 GB, free: 11.22 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003818/1.725, allocations: 2.107 MB / 1.658 GB, free: 9.086 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/1.726, allocations: 157 kB / 1.658 GB, free: 8.934 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/1.747, allocations: 6.769 MB / 1.665 GB, free: 2.012 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/1.75, allocations: 2.347 MB / 1.667 GB, free: 15.62 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.004153/1.754, allocations: 1.253 MB / 1.668 GB, free: 14.37 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.756, allocations: 0.8607 MB / 1.669 GB, free: 13.51 MB / 1.089 GB Notification: Performance of SimCode: time 1.002e-06/1.756, allocations: 4 kB / 1.669 GB, free: 13.5 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08572/1.841, allocations: 51.72 MB / 1.72 GB, free: 10.11 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/1.842, allocations: 212.4 kB / 1.72 GB, free: 9.883 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/5.346, allocations: 0 / 1.72 GB, free: 9.883 MB / 1.135 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat does not exist to compare? outputFormat=mat