Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",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.249/2.249, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.0009629/0.0009632, allocations: 173 kB / 492.3 MB, free: 0.6094 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.656/1.656, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009337/0.000934, allocations: 95.89 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.478e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.437, allocations: 199.1 MB / 1.407 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.437, allocations: 94.25 kB / 1.407 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2621/1.699, allocations: 113.4 MB / 1.518 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.214e-06/1.699, allocations: 0 / 1.518 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001003/1.699, allocations: 59.98 kB / 1.518 GB, free: 13.86 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.006815/1.706, allocations: 2.424 MB / 1.52 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.706, allocations: 8.031 kB / 1.52 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009724/1.707, allocations: 474.6 kB / 1.521 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/1.719, allocations: 1.908 MB / 1.523 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/1.723, allocations: 1.721 MB / 1.524 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/1.723, allocations: 230.1 kB / 1.524 GB, free: 6.984 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008064/1.724, allocations: 292 kB / 1.525 GB, free: 6.699 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009161/1.733, allocations: 4.93 MB / 1.53 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-05/1.733, allocations: 7.938 kB / 1.53 GB, free: 1.672 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/1.734, allocations: 128 kB / 1.53 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003247/1.734, allocations: 201 kB / 1.53 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00756/1.742, allocations: 4.497 MB / 1.534 GB, free: 12.84 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03054/1.772, allocations: 22.78 MB / 1.556 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/1.776, allocations: 2.02 MB / 1.558 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/1.778, allocations: 1.325 MB / 1.56 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/1.779, allocations: 118 kB / 1.56 GB, free: 436 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/1.779, allocations: 55.5 kB / 1.56 GB, free: 372 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 4.428e-06/1.779, allocations: 0 / 1.56 GB, free: 372 kB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.02608/1.805, allocations: 8.888 MB / 1.569 GB, free: 7.422 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.805, allocations: 226.9 kB / 1.569 GB, free: 7.152 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/1.806, allocations: 0.9605 MB / 1.57 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/1.807, allocations: 49.7 kB / 1.57 GB, free: 6.129 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008505/1.808, allocations: 1.258 MB / 1.571 GB, free: 4.852 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006066/1.808, allocations: 0.5277 MB / 1.572 GB, free: 4.316 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.808, allocations: 40 kB / 1.572 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002285/1.809, allocations: 435.1 kB / 1.572 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/1.811, allocations: 1.308 MB / 1.573 GB, free: 2.531 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/1.813, allocations: 1.982 MB / 1.575 GB, free: 248 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/1.815, allocations: 1.653 MB / 1.577 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/1.815, allocations: 8 kB / 1.577 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007212/1.823, allocations: 4.112 MB / 1.581 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0039/1.826, allocations: 8.443 MB / 1.589 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/1.827, allocations: 20.14 kB / 1.589 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/1.829, allocations: 0.7426 MB / 1.59 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003941/1.833, allocations: 0.776 MB / 1.591 GB, free: 15.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/1.847, allocations: 12.46 MB / 1.603 GB, free: 2.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/1.851, allocations: 471 kB / 1.603 GB, free: 2.059 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/1.852, allocations: 119.9 kB / 1.603 GB, free: 1.941 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.852, allocations: 4 kB / 1.603 GB, free: 1.938 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007369/1.859, allocations: 3.968 MB / 1.607 GB, free: 13.95 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.671e-05/1.859, allocations: 24.28 kB / 1.607 GB, free: 13.93 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/1.861, allocations: 0.6805 MB / 1.608 GB, free: 13.23 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/1.865, allocations: 0.7721 MB / 1.609 GB, free: 12.45 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.878, allocations: 12.33 MB / 1.621 GB, free: 15.32 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/1.882, allocations: 455.1 kB / 1.621 GB, free: 14.87 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000347/1.883, allocations: 112 kB / 1.621 GB, free: 14.76 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006754/1.883, allocations: 244.9 kB / 1.621 GB, free: 14.52 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/1.884, allocations: 130.5 kB / 1.622 GB, free: 14.39 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006905/1.891, allocations: 3.586 MB / 1.625 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.891, allocations: 19.95 kB / 1.625 GB, free: 10.72 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.891, allocations: 15.94 kB / 1.625 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.891, allocations: 7.969 kB / 1.625 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.903, allocations: 7.249 MB / 1.632 GB, free: 3.242 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.903, allocations: 4 kB / 1.632 GB, free: 3.238 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/1.906, allocations: 0.5272 MB / 1.633 GB, free: 2.711 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/1.908, allocations: 0.6256 MB / 1.633 GB, free: 2.066 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/1.908, allocations: 59.94 kB / 1.633 GB, free: 2.008 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/1.921, allocations: 12 MB / 1.645 GB, free: 5.203 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/1.921, allocations: 15.92 kB / 1.645 GB, free: 5.188 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006285/1.927, allocations: 3.634 MB / 1.649 GB, free: 1.242 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.929, allocations: 0.4993 MB / 1.649 GB, free: 0.7227 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.929, allocations: 32 kB / 1.649 GB, free: 0.6914 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.931, allocations: 403.3 kB / 1.65 GB, free: 304 kB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/1.932, allocations: 136.6 kB / 1.65 GB, free: 164 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.932, allocations: 59.97 kB / 1.65 GB, free: 104 kB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001205/1.933, allocations: 0.7529 MB / 1.65 GB, free: 15.35 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.01e-07/1.933, allocations: 0 / 1.65 GB, free: 15.35 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.004202/1.937, allocations: 1.195 MB / 1.652 GB, free: 14.15 MB / 1.073 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 (107): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007006/1.944, allocations: 6.381 MB / 1.658 GB, free: 7.516 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.957, allocations: 6.736 MB / 1.664 GB, free: 0.6328 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.957, allocations: 1.875 kB / 1.664 GB, free: 0.6328 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003836/1.961, allocations: 2.247 MB / 1.667 GB, free: 14.3 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/1.962, allocations: 158.1 kB / 1.667 GB, free: 14.16 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.983, allocations: 6.747 MB / 1.673 GB, free: 7.258 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/1.985, allocations: 2.382 MB / 1.676 GB, free: 4.84 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.004228/1.99, allocations: 1.323 MB / 1.677 GB, free: 3.512 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/1.991, allocations: 0.8624 MB / 1.678 GB, free: 2.648 MB / 1.089 GB Notification: Performance of SimCode: time 1.613e-06/1.991, allocations: 4 kB / 1.678 GB, free: 2.645 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08553/2.077, allocations: 48.58 MB / 1.725 GB, free: 2.375 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/2.077, allocations: 213.7 kB / 1.726 GB, free: 2.148 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/5.255, allocations: 4 kB / 1.726 GB, free: 2.145 MB / 1.135 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat does not exist to compare? outputFormat=mat