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.723/1.723, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001623/0.001623, allocations: 181 kB / 377.1 MB, free: 1.535 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.846/1.846, allocations: 205.4 MB / 0.6366 GB, free: 8.648 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.0009124/0.0009125, allocations: 91.05 kB / 0.7509 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2933, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8669/1.16, allocations: 193.3 MB / 1.177 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.161, allocations: 100.5 kB / 1.177 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2927/1.453, allocations: 121.3 MB / 1.296 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.425e-06/1.453, allocations: 0 / 1.296 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001635/1.454, allocations: 59.98 kB / 1.296 GB, free: 10.56 MB / 0.8698 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.008614/1.462, allocations: 2.541 MB / 1.298 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.462, allocations: 12.03 kB / 1.298 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001895/1.464, allocations: 457.6 kB / 1.299 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/1.476, allocations: 2.048 MB / 1.301 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/1.481, allocations: 1.794 MB / 1.303 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/1.481, allocations: 221.9 kB / 1.303 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/1.482, allocations: 291.9 kB / 1.303 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/1.495, allocations: 5.462 MB / 1.308 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-05/1.495, allocations: 5.031 kB / 1.308 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004303/1.496, allocations: 120 kB / 1.308 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004448/1.496, allocations: 261.9 kB / 1.309 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/1.512, allocations: 5.659 MB / 1.314 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03258/1.544, allocations: 22.43 MB / 1.336 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005288/1.55, allocations: 2.526 MB / 1.339 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/1.55, allocations: 114.1 kB / 1.339 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.55, allocations: 47.5 kB / 1.339 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=122): time 3.447e-06/1.55, allocations: 0 / 1.339 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=173): time 0.05338/1.604, allocations: 14.72 MB / 1.353 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/1.604, allocations: 73.41 kB / 1.353 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/1.605, allocations: 1.029 MB / 1.354 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003235/1.606, allocations: 57.64 kB / 1.354 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000867/1.607, allocations: 1.27 MB / 1.356 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006794/1.607, allocations: 0.5892 MB / 1.356 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/1.607, allocations: 52 kB / 1.356 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002518/1.608, allocations: 451.5 kB / 1.357 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/1.612, allocations: 2.007 MB / 1.359 GB, free: 7.945 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005295/1.618, allocations: 2.726 MB / 1.361 GB, free: 4.898 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/1.623, allocations: 2.356 MB / 1.363 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/1.623, allocations: 7.938 kB / 1.364 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.6702/2.293, allocations: 6.159 MB / 1.37 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002283/2.296, allocations: 8.872 MB / 1.378 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-05/2.296, allocations: 21.78 kB / 1.378 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004362/2.3, allocations: 1.396 MB / 1.38 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003597/2.304, allocations: 0.7684 MB / 1.38 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/2.327, allocations: 17.75 MB / 1.398 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004553/2.332, allocations: 492.3 kB / 1.398 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005/2.332, allocations: 123.6 kB / 1.398 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/2.332, allocations: 3.406 kB / 1.398 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01611/2.348, allocations: 6.01 MB / 1.404 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001387/2.348, allocations: 22.38 kB / 1.404 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003793/2.352, allocations: 1.372 MB / 1.405 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/2.356, allocations: 0.7718 MB / 1.406 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/2.374, allocations: 17.58 MB / 1.423 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/2.378, allocations: 473 kB / 1.424 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/2.378, allocations: 119.9 kB / 1.424 GB, free: 179.1 MB / 0.9323 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 () * Number of clocked 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.002676/2.381, allocations: 1.325 MB / 1.425 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/2.381, allocations: 151.6 kB / 1.425 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/2.394, allocations: 5.764 MB / 1.431 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/2.394, allocations: 16.22 kB / 1.431 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/2.394, allocations: 10.53 kB / 1.431 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/2.394, allocations: 9.328 kB / 1.431 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/2.413, allocations: 9.324 MB / 1.44 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/2.413, allocations: 6.188 kB / 1.44 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002519/2.415, allocations: 0.5242 MB / 1.441 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/2.419, allocations: 1.192 MB / 1.442 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/2.419, allocations: 53.55 kB / 1.442 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/2.437, allocations: 17.04 MB / 1.459 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/2.437, allocations: 14.75 kB / 1.459 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/2.449, allocations: 5.339 MB / 1.464 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/2.45, allocations: 0.5527 MB / 1.464 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/2.451, allocations: 39.25 kB / 1.464 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/2.453, allocations: 438.5 kB / 1.465 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004518/2.454, allocations: 152.1 kB / 1.465 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/2.454, allocations: 65.89 kB / 1.465 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001186/2.455, allocations: 0.7972 MB / 1.466 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.8e-07/2.455, allocations: 4 kB / 1.466 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00529/2.461, allocations: 1.33 MB / 1.467 GB, free: 162.1 MB / 0.9323 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 () * Number of clocked 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.0123/2.473, allocations: 7.807 MB / 1.475 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02349/2.496, allocations: 9.544 MB / 1.484 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/2.496, allocations: 2.094 kB / 1.484 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008104/2.505, allocations: 3.299 MB / 1.487 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/2.506, allocations: 195 kB / 1.487 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06328/2.569, allocations: 35.38 MB / 1.522 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00367/2.573, allocations: 2.422 MB / 1.524 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004704/2.578, allocations: 1.264 MB / 1.526 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/2.58, allocations: 0.911 MB / 1.526 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of SimCode: time 9.92e-07/2.58, allocations: 7.938 kB / 1.526 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/2.687, allocations: 60.22 MB / 1.585 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/2.687, allocations: 238.4 kB / 1.585 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.957/6.644, allocations: 2.844 kB / 1.585 GB, free: 123.4 MB / 0.9323 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)