Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.529/1.529, allocations: 249.3 MB / 261.8 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 184.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009281/0.0009282, allocations: 82.55 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.667e-05/4.669e-05, allocations: 0 / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8675/1.162, allocations: 186 MB / 1.074 GB, free: 15.21 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/1.162, allocations: 91.69 kB / 1.074 GB, free: 15.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2971/1.459, allocations: 120.8 MB / 1.192 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.366e-06/1.46, allocations: 0 / 1.192 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001341/1.46, allocations: 63.98 kB / 1.192 GB, free: 11.18 MB / 0.8073 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.008447/1.468, allocations: 2.424 MB / 1.194 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/1.468, allocations: 8.031 kB / 1.194 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002138/1.47, allocations: 462.2 kB / 1.194 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/1.484, allocations: 2.048 MB / 1.196 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/1.489, allocations: 1.798 MB / 1.198 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/1.49, allocations: 217.8 kB / 1.198 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/1.491, allocations: 287.9 kB / 1.199 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/1.508, allocations: 4.948 MB / 1.203 GB, free: 14.82 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/1.508, allocations: 3.984 kB / 1.203 GB, free: 14.81 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/1.51, allocations: 120 kB / 1.204 GB, free: 14.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006124/1.51, allocations: 246 kB / 1.204 GB, free: 14.45 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/1.523, allocations: 4.666 MB / 1.208 GB, free: 9.777 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04025/1.563, allocations: 22.42 MB / 1.23 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/1.567, allocations: 2.043 MB / 1.232 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/1.57, allocations: 1.234 MB / 1.233 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/1.57, allocations: 110.1 kB / 1.234 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/1.57, allocations: 51.56 kB / 1.234 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=122): time 3.977e-06/1.57, allocations: 0 / 1.234 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173): time 0.04255/1.613, allocations: 11.26 MB / 1.245 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/1.613, allocations: 73.34 kB / 1.245 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/1.615, allocations: 1.017 MB / 1.246 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004224/1.615, allocations: 57.7 kB / 1.246 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/1.616, allocations: 1.266 MB / 1.247 GB, free: 104 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000937/1.617, allocations: 0.5972 MB / 1.248 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/1.618, allocations: 48 kB / 1.248 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003381/1.618, allocations: 447.3 kB / 1.248 GB, free: 15 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/1.621, allocations: 1.508 MB / 1.25 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003883/1.625, allocations: 2.223 MB / 1.252 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003576/1.629, allocations: 1.872 MB / 1.254 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-05/1.629, allocations: 8 kB / 1.254 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01125/1.64, allocations: 5.154 MB / 1.259 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.6347/2.275, allocations: 8.872 MB / 1.267 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/2.275, allocations: 26 kB / 1.267 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006489/2.282, allocations: 1.374 MB / 1.269 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005759/2.287, allocations: 0.7659 MB / 1.269 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02959/2.317, allocations: 17.11 MB / 1.286 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/2.322, allocations: 487.5 kB / 1.287 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007992/2.323, allocations: 121.8 kB / 1.287 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/2.323, allocations: 3.594 kB / 1.287 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01499/2.338, allocations: 5.005 MB / 1.292 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/2.339, allocations: 23.25 kB / 1.292 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/2.344, allocations: 1.351 MB / 1.293 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/2.349, allocations: 0.7691 MB / 1.294 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03029/2.38, allocations: 16.94 MB / 1.31 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00508/2.385, allocations: 471.7 kB / 1.311 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009546/2.386, allocations: 119.7 kB / 1.311 GB, free: 225.7 MB / 0.8698 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.001438/2.387, allocations: 241.6 kB / 1.311 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/2.388, allocations: 139.5 kB / 1.311 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/2.401, allocations: 4.782 MB / 1.316 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-05/2.401, allocations: 16.75 kB / 1.316 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.834e-05/2.401, allocations: 14.55 kB / 1.316 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.295e-05/2.401, allocations: 16.14 kB / 1.316 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/2.42, allocations: 8.579 MB / 1.324 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/2.42, allocations: 7.906 kB / 1.324 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002981/2.423, allocations: 0.5134 MB / 1.325 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003895/2.427, allocations: 1.187 MB / 1.326 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003477/2.427, allocations: 53.58 kB / 1.326 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/2.444, allocations: 16.44 MB / 1.342 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/2.445, allocations: 9.438 kB / 1.342 GB, free: 209.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008613/2.453, allocations: 4.372 MB / 1.346 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/2.455, allocations: 0.5446 MB / 1.347 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/2.455, allocations: 35.75 kB / 1.347 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/2.458, allocations: 439.7 kB / 1.347 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004524/2.458, allocations: 154.5 kB / 1.347 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/2.458, allocations: 64.34 kB / 1.347 GB, free: 207 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001117/2.459, allocations: 0.7899 MB / 1.348 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/2.459, allocations: 0 / 1.348 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005473/2.465, allocations: 1.336 MB / 1.35 GB, free: 206.6 MB / 0.8698 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.006999/2.472, allocations: 6.819 MB / 1.356 GB, free: 202 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02048/2.493, allocations: 8.015 MB / 1.364 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.567e-05/2.493, allocations: 3.594 kB / 1.364 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008025/2.501, allocations: 2.78 MB / 1.367 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/2.503, allocations: 191.8 kB / 1.367 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/2.531, allocations: 7.129 MB / 1.374 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/2.533, allocations: 2.429 MB / 1.376 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00408/2.537, allocations: 1.294 MB / 1.377 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/2.539, allocations: 0.9051 MB / 1.378 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.944e-06/2.539, allocations: 0 / 1.378 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09816/2.637, allocations: 61.4 MB / 1.438 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/2.637, allocations: 219.9 kB / 1.439 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.704/6.342, allocations: 0 / 1.439 GB, free: 155.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)