Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.0009587/0.0009586, allocations: 176.8 kB / 366.7 MB, free: 1.664 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.532/1.532, allocations: 205.3 MB / 0.626 GB, free: 7.141 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.000974/0.0009739, allocations: 93.47 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.387e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.775/0.7751, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2663/1.041, allocations: 192.6 MB / 1.161 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.042, allocations: 99.88 kB / 1.162 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.9558/1.998, allocations: 120.3 MB / 1.279 GB, free: 198 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.405e-06/1.998, allocations: 0 / 1.279 GB, free: 198 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001589/1.998, allocations: 53.81 kB / 1.279 GB, free: 198 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.00921/2.007, allocations: 2.427 MB / 1.281 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/2.007, allocations: 9.375 kB / 1.281 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/2.022, allocations: 2.053 MB / 1.283 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005897/2.028, allocations: 1.793 MB / 1.285 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/2.028, allocations: 93.75 kB / 1.285 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/2.029, allocations: 169 kB / 1.285 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009151/2.038, allocations: 4.092 MB / 1.289 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/2.051, allocations: 4.529 MB / 1.294 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-05/2.051, allocations: 10.56 kB / 1.294 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003664/2.051, allocations: 4.375 kB / 1.294 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005649/2.052, allocations: 246.4 kB / 1.294 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/2.078, allocations: 21.79 MB / 1.315 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/2.081, allocations: 2.022 MB / 1.317 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/2.082, allocations: 1.201 MB / 1.318 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/2.083, allocations: 109.5 kB / 1.319 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/2.083, allocations: 54.08 kB / 1.319 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=122): time 3.837e-06/2.083, allocations: 0 / 1.319 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173): time 0.01582/2.098, allocations: 6.978 MB / 1.325 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/2.099, allocations: 68.91 kB / 1.326 GB, free: 179 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/2.1, allocations: 0.9657 MB / 1.326 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/2.1, allocations: 25.7 kB / 1.326 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/2.101, allocations: 1.268 MB / 1.328 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000518/2.102, allocations: 0.5714 MB / 1.328 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/2.102, allocations: 0 / 1.328 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001682/2.102, allocations: 446.3 kB / 1.329 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/2.104, allocations: 1.481 MB / 1.33 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/2.106, allocations: 2.182 MB / 1.332 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/2.109, allocations: 2.129 MB / 1.334 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/2.109, allocations: 5.406 kB / 1.334 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009019/2.118, allocations: 5.253 MB / 1.34 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00209/2.12, allocations: 8.881 MB / 1.348 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.07e-05/2.12, allocations: 21.19 kB / 1.348 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003989/2.124, allocations: 1.381 MB / 1.35 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003601/2.128, allocations: 0.7577 MB / 1.35 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/2.146, allocations: 16.72 MB / 1.367 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/2.15, allocations: 444.8 kB / 1.367 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008767/2.151, allocations: 118.9 kB / 1.367 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/2.151, allocations: 11.25 kB / 1.367 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01017/2.161, allocations: 4.962 MB / 1.372 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.879e-05/2.162, allocations: 22.84 kB / 1.372 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/2.165, allocations: 1.318 MB / 1.373 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/2.168, allocations: 0.7641 MB / 1.374 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/2.185, allocations: 16.1 MB / 1.39 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/2.189, allocations: 430 kB / 1.39 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007627/2.189, allocations: 120 kB / 1.39 GB, free: 137.7 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.001137/2.191, allocations: 171.8 kB / 1.39 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008186/2.199, allocations: 4.12 MB / 1.394 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/2.199, allocations: 138.1 kB / 1.395 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008919/2.208, allocations: 4.769 MB / 1.399 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/2.208, allocations: 14.69 kB / 1.399 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.113e-05/2.208, allocations: 12.94 kB / 1.399 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/2.208, allocations: 11.78 kB / 1.399 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/2.223, allocations: 8.053 MB / 1.407 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/2.223, allocations: 8.844 kB / 1.407 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/2.226, allocations: 0.5169 MB / 1.408 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003232/2.229, allocations: 1.166 MB / 1.409 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/2.229, allocations: 27.11 kB / 1.409 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/2.245, allocations: 15.89 MB / 1.424 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/2.245, allocations: 15.14 kB / 1.424 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007885/2.253, allocations: 4.406 MB / 1.429 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/2.254, allocations: 0.5383 MB / 1.429 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005919/2.255, allocations: 11.98 kB / 1.429 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/2.258, allocations: 419.2 kB / 1.43 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/2.259, allocations: 152.9 kB / 1.43 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/2.259, allocations: 67.95 kB / 1.43 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001323/2.26, allocations: 0.7406 MB / 1.431 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/2.26, allocations: 0 / 1.431 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006999/2.267, allocations: 1.195 MB / 1.432 GB, free: 105.3 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.008024/2.275, allocations: 6.834 MB / 1.438 GB, free: 98.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01348/2.289, allocations: 7.679 MB / 1.446 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/2.289, allocations: 4.125 kB / 1.446 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004525/2.293, allocations: 2.691 MB / 1.449 GB, free: 87.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/2.295, allocations: 165.5 kB / 1.449 GB, free: 87.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/2.317, allocations: 6.975 MB / 1.456 GB, free: 80.39 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003402/2.32, allocations: 2.427 MB / 1.458 GB, free: 77.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004599/2.325, allocations: 1.29 MB / 1.459 GB, free: 76.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/2.327, allocations: 0.9092 MB / 1.46 GB, free: 75.79 MB / 0.8542 GB Notification: Performance of SimCode: time 1.774e-06/2.327, allocations: 0 / 1.46 GB, free: 75.79 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09699/2.424, allocations: 60.04 MB / 1.519 GB, free: 16.47 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/2.424, allocations: 173.8 kB / 1.519 GB, free: 16.28 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/6.022, allocations: 0 / 1.519 GB, free: 16.28 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)