Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",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.247/2.247, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.00111/0.00111, allocations: 188.9 kB / 492.3 MB, free: 0.6055 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.437/1.437, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008313/0.0008314, allocations: 91.34 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.388e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2884, allocations: 142.3 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.355, allocations: 198.7 MB / 1.407 GB, free: 1.246 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/1.356, allocations: 101.9 kB / 1.407 GB, free: 1.188 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2681/1.624, allocations: 105.7 MB / 1.51 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.834e-06/1.624, allocations: 0 / 1.51 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001494/1.624, allocations: 55.98 kB / 1.51 GB, free: 5.973 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.008031/1.632, allocations: 2.259 MB / 1.512 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.632, allocations: 8.031 kB / 1.512 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002063/1.634, allocations: 428.5 kB / 1.513 GB, free: 3.227 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/1.646, allocations: 1.873 MB / 1.514 GB, free: 1.348 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/1.651, allocations: 1.603 MB / 1.516 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/1.651, allocations: 201.5 kB / 1.516 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/1.653, allocations: 268 kB / 1.516 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/1.666, allocations: 4.516 MB / 1.521 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.862e-05/1.666, allocations: 0 / 1.521 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009536/1.667, allocations: 116 kB / 1.521 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003454/1.667, allocations: 192.5 kB / 1.521 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/1.678, allocations: 4.25 MB / 1.525 GB, free: 6.051 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03321/1.711, allocations: 20.99 MB / 1.546 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/1.715, allocations: 2.495 MB / 1.548 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/1.718, allocations: 1.637 MB / 1.55 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/1.718, allocations: 126 kB / 1.55 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/1.719, allocations: 55.55 kB / 1.55 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=139): time 4.408e-06/1.719, allocations: 3.938 kB / 1.55 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181): time 0.03246/1.751, allocations: 9.974 MB / 1.56 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.751, allocations: 234.9 kB / 1.56 GB, free: 404 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.753, allocations: 0.8743 MB / 1.561 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003133/1.753, allocations: 53.7 kB / 1.561 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007208/1.754, allocations: 1.096 MB / 1.562 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007467/1.754, allocations: 0.6239 MB / 1.563 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.755, allocations: 44 kB / 1.563 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002502/1.755, allocations: 435.3 kB / 1.563 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/1.757, allocations: 1.387 MB / 1.564 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/1.76, allocations: 1.979 MB / 1.566 GB, free: 9.613 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/1.763, allocations: 1.712 MB / 1.568 GB, free: 7.902 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/1.763, allocations: 4 kB / 1.568 GB, free: 7.898 MB / 0.9792 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.00801/1.771, allocations: 4.402 MB / 1.572 GB, free: 3.48 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002625/1.773, allocations: 6.878 MB / 1.579 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.605e-05/1.773, allocations: 20 kB / 1.579 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/1.776, allocations: 1.063 MB / 1.58 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/1.78, allocations: 0.7487 MB / 1.581 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.793, allocations: 10.11 MB / 1.591 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/1.797, allocations: 455.1 kB / 1.591 GB, free: 15.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006398/1.798, allocations: 111.9 kB / 1.591 GB, free: 15.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.798, allocations: 4 kB / 1.591 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008359/1.806, allocations: 4.26 MB / 1.595 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.588e-05/1.806, allocations: 24.22 kB / 1.595 GB, free: 10.99 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/1.808, allocations: 0.8681 MB / 1.596 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/1.812, allocations: 0.7487 MB / 1.597 GB, free: 9.367 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.825, allocations: 10.03 MB / 1.607 GB, free: 15.05 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/1.829, allocations: 459.1 kB / 1.607 GB, free: 14.61 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005884/1.829, allocations: 108 kB / 1.607 GB, free: 14.5 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 (220): * Single equations (assignments): 218 * 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.001154/1.831, allocations: 236.3 kB / 1.608 GB, free: 14.26 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008666/1.831, allocations: 126.5 kB / 1.608 GB, free: 14.14 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.842, allocations: 4.184 MB / 1.612 GB, free: 9.906 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.772e-05/1.842, allocations: 16 kB / 1.612 GB, free: 9.891 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.196e-05/1.842, allocations: 16 kB / 1.612 GB, free: 9.875 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/1.842, allocations: 15.95 kB / 1.612 GB, free: 9.859 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/1.86, allocations: 7.803 MB / 1.619 GB, free: 1.883 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.86, allocations: 8 kB / 1.619 GB, free: 1.875 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002678/1.863, allocations: 0.5347 MB / 1.62 GB, free: 1.34 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/1.865, allocations: 0.8875 MB / 1.621 GB, free: 456 kB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/1.865, allocations: 55.95 kB / 1.621 GB, free: 400 kB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/1.879, allocations: 9.671 MB / 1.63 GB, free: 6.449 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.879, allocations: 15.94 kB / 1.63 GB, free: 6.434 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007258/1.886, allocations: 4.229 MB / 1.634 GB, free: 1.863 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.888, allocations: 0.5305 MB / 1.635 GB, free: 1.312 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000501/1.888, allocations: 43.94 kB / 1.635 GB, free: 1.27 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/1.891, allocations: 403.3 kB / 1.635 GB, free: 0.875 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004782/1.892, allocations: 164.9 kB / 1.636 GB, free: 0.7148 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/1.892, allocations: 67.95 kB / 1.636 GB, free: 0.6484 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001432/1.893, allocations: 0.7022 MB / 1.636 GB, free: 15.95 MB / 1.057 GB Notification: Performance of sort global known variables: time 4.41e-07/1.893, allocations: 0 / 1.636 GB, free: 15.95 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.005313/1.899, allocations: 1.223 MB / 1.637 GB, free: 14.72 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 107 * 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.009451/1.908, allocations: 7.231 MB / 1.645 GB, free: 7.227 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.921, allocations: 6.561 MB / 1.651 GB, free: 0.6211 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.921, allocations: 384 / 1.651 GB, free: 0.6211 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004243/1.925, allocations: 2.12 MB / 1.653 GB, free: 14.47 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/1.927, allocations: 152.6 kB / 1.653 GB, free: 14.32 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.951, allocations: 6.642 MB / 1.66 GB, free: 7.516 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/1.954, allocations: 2.277 MB / 1.662 GB, free: 5.203 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004372/1.959, allocations: 1.32 MB / 1.663 GB, free: 3.879 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/1.96, allocations: 0.8077 MB / 1.664 GB, free: 3.07 MB / 1.073 GB Notification: Performance of SimCode: time 1.152e-06/1.96, allocations: 0 / 1.664 GB, free: 3.07 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09479/2.055, allocations: 51.69 MB / 1.714 GB, free: 15.69 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/2.055, allocations: 206.3 kB / 1.715 GB, free: 15.46 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/5.353, allocations: 0 / 1.715 GB, free: 15.46 MB / 1.135 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat does not exist to compare? outputFormat=mat