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.716/1.716, allocations: 289.7 MB / 302.3 MB, free: 2.176 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.001147/0.001147, allocations: 179.7 kB / 371.6 MB, free: 3.379 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.729/1.729, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009498/0.0009499, allocations: 90.92 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.758e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2999, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9366/1.237, allocations: 193.2 MB / 1.169 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.237, allocations: 101.3 kB / 1.169 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2881/1.525, allocations: 120.8 MB / 1.287 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.194e-06/1.525, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001599/1.525, allocations: 60 kB / 1.287 GB, free: 7.879 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.008384/1.534, allocations: 2.425 MB / 1.289 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.534, allocations: 12.03 kB / 1.289 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001123/1.535, allocations: 446.2 kB / 1.289 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/1.547, allocations: 2.06 MB / 1.292 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/1.552, allocations: 1.794 MB / 1.293 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/1.552, allocations: 221.8 kB / 1.293 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/1.553, allocations: 284 kB / 1.294 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/1.564, allocations: 4.948 MB / 1.299 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-05/1.564, allocations: 7.938 kB / 1.299 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/1.564, allocations: 120 kB / 1.299 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004753/1.565, allocations: 250 kB / 1.299 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008868/1.573, allocations: 4.663 MB / 1.303 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03073/1.604, allocations: 22.43 MB / 1.325 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/1.607, allocations: 2.041 MB / 1.327 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/1.609, allocations: 1.23 MB / 1.329 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/1.609, allocations: 126 kB / 1.329 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/1.609, allocations: 43.56 kB / 1.329 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=122): time 3.817e-06/1.609, allocations: 0 / 1.329 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=173): time 0.03785/1.647, allocations: 11.24 MB / 1.34 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/1.647, allocations: 69.41 kB / 1.34 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/1.649, allocations: 1.017 MB / 1.341 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.649, allocations: 53.7 kB / 1.341 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008073/1.65, allocations: 1.278 MB / 1.342 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006273/1.651, allocations: 0.5853 MB / 1.343 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/1.651, allocations: 52 kB / 1.343 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002432/1.651, allocations: 443.5 kB / 1.343 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/1.653, allocations: 1.512 MB / 1.345 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/1.656, allocations: 2.223 MB / 1.347 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/1.659, allocations: 1.879 MB / 1.349 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.659, allocations: 4 kB / 1.349 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009761/1.668, allocations: 5.158 MB / 1.354 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003469/1.672, allocations: 8.873 MB / 1.362 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/1.672, allocations: 24 kB / 1.362 GB, free: 7.008 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00416/1.676, allocations: 1.386 MB / 1.364 GB, free: 5.602 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003737/1.68, allocations: 0.7604 MB / 1.364 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/1.7, allocations: 17.12 MB / 1.381 GB, free: 2.918 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/1.704, allocations: 487.1 kB / 1.382 GB, free: 2.441 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/1.705, allocations: 120 kB / 1.382 GB, free: 2.324 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.705, allocations: 14.14 kB / 1.382 GB, free: 2.312 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6999/2.404, allocations: 4.998 MB / 1.387 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/2.405, allocations: 23.12 kB / 1.387 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003879/2.409, allocations: 1.352 MB / 1.388 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/2.413, allocations: 0.764 MB / 1.389 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/2.434, allocations: 16.93 MB / 1.405 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00379/2.438, allocations: 469.9 kB / 1.406 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/2.438, allocations: 119.9 kB / 1.406 GB, free: 208.8 MB / 0.948 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.0006258/2.439, allocations: 246.3 kB / 1.406 GB, free: 208.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/2.439, allocations: 138.3 kB / 1.406 GB, free: 208.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009262/2.449, allocations: 4.775 MB / 1.411 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/2.449, allocations: 24.27 kB / 1.411 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/2.449, allocations: 9.125 kB / 1.411 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/2.449, allocations: 10.03 kB / 1.411 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/2.462, allocations: 8.588 MB / 1.419 GB, free: 207.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/2.462, allocations: 10.12 kB / 1.419 GB, free: 207.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/2.464, allocations: 0.5159 MB / 1.42 GB, free: 207.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003104/2.467, allocations: 1.184 MB / 1.421 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/2.468, allocations: 57.02 kB / 1.421 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/2.483, allocations: 16.44 MB / 1.437 GB, free: 199.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/2.484, allocations: 6.844 kB / 1.437 GB, free: 199.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006502/2.49, allocations: 4.366 MB / 1.441 GB, free: 198.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/2.491, allocations: 0.5359 MB / 1.442 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/2.492, allocations: 46.06 kB / 1.442 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/2.494, allocations: 447.1 kB / 1.442 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/2.495, allocations: 146.7 kB / 1.442 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/2.495, allocations: 63.19 kB / 1.443 GB, free: 198.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001039/2.496, allocations: 0.7912 MB / 1.443 GB, free: 198.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.162e-06/2.496, allocations: 0.5625 kB / 1.443 GB, free: 198.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004471/2.5, allocations: 1.333 MB / 1.445 GB, free: 198.6 MB / 0.948 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.006748/2.507, allocations: 6.822 MB / 1.451 GB, free: 195.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01277/2.52, allocations: 8.02 MB / 1.459 GB, free: 192.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/2.52, allocations: 3.188 kB / 1.459 GB, free: 192.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004646/2.525, allocations: 2.781 MB / 1.462 GB, free: 191.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/2.526, allocations: 191.6 kB / 1.462 GB, free: 191.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/2.544, allocations: 7.129 MB / 1.469 GB, free: 189 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/2.547, allocations: 2.425 MB / 1.471 GB, free: 187.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005337/2.552, allocations: 1.29 MB / 1.473 GB, free: 187.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/2.555, allocations: 0.9027 MB / 1.473 GB, free: 187.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/2.555, allocations: 4 kB / 1.473 GB, free: 187.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/2.685, allocations: 61.38 MB / 1.533 GB, free: 184.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/2.686, allocations: 201.6 kB / 1.534 GB, free: 184.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.746/6.431, allocations: 0 / 1.534 GB, free: 184.3 MB / 0.948 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)