Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 180.9 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008717/0.0008719, allocations: 96.7 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.943e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8478, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/1.142, allocations: 191.6 MB / 1.152 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004283/1.143, allocations: 94.45 kB / 1.152 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.095/2.238, allocations: 120.3 MB / 1.269 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.344e-06/2.238, allocations: 5.469 kB / 1.269 GB, free: 196.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003391/2.238, allocations: 57.88 kB / 1.269 GB, free: 196.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.01316/2.251, allocations: 2.421 MB / 1.272 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 8.712e-05/2.252, allocations: 14.38 kB / 1.272 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/2.267, allocations: 2.051 MB / 1.274 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006656/2.274, allocations: 1.792 MB / 1.275 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/2.274, allocations: 96.16 kB / 1.275 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/2.276, allocations: 167.9 kB / 1.276 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01314/2.289, allocations: 4.092 MB / 1.28 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/2.307, allocations: 4.529 MB / 1.284 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/2.307, allocations: 0 / 1.284 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/2.309, allocations: 2.453 kB / 1.284 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007358/2.31, allocations: 254.2 kB / 1.284 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04545/2.355, allocations: 21.8 MB / 1.306 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/2.359, allocations: 2.02 MB / 1.307 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/2.362, allocations: 1.194 MB / 1.309 GB, free: 182 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/2.362, allocations: 121.1 kB / 1.309 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/2.362, allocations: 48.25 kB / 1.309 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=122): time 7.293e-06/2.362, allocations: 1.125 kB / 1.309 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173): time 0.01874/2.381, allocations: 6.981 MB / 1.316 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/2.381, allocations: 73.94 kB / 1.316 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/2.383, allocations: 0.9713 MB / 1.317 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004401/2.384, allocations: 25.7 kB / 1.317 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/2.385, allocations: 1.261 MB / 1.318 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009437/2.386, allocations: 0.5683 MB / 1.318 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004367/2.387, allocations: 0 / 1.318 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003292/2.387, allocations: 443.4 kB / 1.319 GB, free: 177 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/2.39, allocations: 1.478 MB / 1.32 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/2.393, allocations: 2.18 MB / 1.322 GB, free: 175 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00471/2.397, allocations: 2.135 MB / 1.325 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-05/2.398, allocations: 11.91 kB / 1.325 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01207/2.41, allocations: 5.246 MB / 1.33 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002541/2.412, allocations: 8.88 MB / 1.338 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/2.412, allocations: 24.41 kB / 1.338 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004234/2.417, allocations: 1.373 MB / 1.34 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003828/2.421, allocations: 0.7672 MB / 1.34 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/2.442, allocations: 16.72 MB / 1.357 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/2.447, allocations: 445.1 kB / 1.357 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/2.448, allocations: 119.8 kB / 1.357 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/2.448, allocations: 3.844 kB / 1.357 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01156/2.46, allocations: 4.969 MB / 1.362 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/2.46, allocations: 29.06 kB / 1.362 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/2.464, allocations: 1.305 MB / 1.363 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/2.467, allocations: 0.7679 MB / 1.364 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/2.484, allocations: 16.11 MB / 1.38 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003943/2.488, allocations: 429.8 kB / 1.38 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007527/2.489, allocations: 117.2 kB / 1.38 GB, free: 138.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001237/2.49, allocations: 176.3 kB / 1.381 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009264/2.5, allocations: 4.114 MB / 1.385 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/2.5, allocations: 135.9 kB / 1.385 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009363/2.51, allocations: 4.779 MB / 1.389 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/2.51, allocations: 18.28 kB / 1.389 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/2.51, allocations: 11.44 kB / 1.389 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/2.51, allocations: 15.36 kB / 1.39 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/2.524, allocations: 8.04 MB / 1.397 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/2.524, allocations: 9.25 kB / 1.397 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/2.527, allocations: 0.5154 MB / 1.398 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/2.53, allocations: 1.163 MB / 1.399 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/2.53, allocations: 29.17 kB / 1.399 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/2.546, allocations: 15.88 MB / 1.415 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/2.546, allocations: 9.875 kB / 1.415 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007767/2.554, allocations: 4.4 MB / 1.419 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/2.556, allocations: 0.5486 MB / 1.419 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006284/2.557, allocations: 8 kB / 1.419 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/2.559, allocations: 417.2 kB / 1.42 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/2.56, allocations: 157.9 kB / 1.42 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/2.56, allocations: 66.92 kB / 1.42 GB, free: 113 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001375/2.562, allocations: 0.7397 MB / 1.421 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/2.562, allocations: 0 / 1.421 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00646/2.568, allocations: 1.199 MB / 1.422 GB, free: 111.1 MB / 0.8542 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 (104): * Single equations (assignments): 98 * 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%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008047/2.576, allocations: 6.837 MB / 1.429 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01305/2.589, allocations: 7.671 MB / 1.436 GB, free: 97.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/2.589, allocations: 0 / 1.436 GB, free: 97.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004816/2.594, allocations: 2.699 MB / 1.439 GB, free: 95.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/2.596, allocations: 167.3 kB / 1.439 GB, free: 95.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/2.618, allocations: 6.972 MB / 1.446 GB, free: 89.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003107/2.621, allocations: 2.417 MB / 1.448 GB, free: 87.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004666/2.626, allocations: 1.292 MB / 1.449 GB, free: 86.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/2.628, allocations: 0.905 MB / 1.45 GB, free: 85.94 MB / 0.8542 GB Notification: Performance of SimCode: time 1.924e-06/2.628, allocations: 0 / 1.45 GB, free: 85.94 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09923/2.727, allocations: 60.04 MB / 1.509 GB, free: 27 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/2.727, allocations: 181 kB / 1.509 GB, free: 26.82 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/6.326, allocations: 3.656 kB / 1.509 GB, free: 26.82 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)