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.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 187 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001146/0.001146, allocations: 99.67 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003823, allocations: 10.44 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2734, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8685/1.142, allocations: 186 MB / 1.082 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.142, allocations: 104.2 kB / 1.082 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2625/1.405, allocations: 121.3 MB / 1.2 GB, free: 2.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.405, allocations: 0 / 1.2 GB, free: 2.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001034/1.405, allocations: 60 kB / 1.2 GB, free: 2.922 MB / 0.698 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.006486/1.411, allocations: 2.545 MB / 1.203 GB, free: 0.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/1.412, allocations: 8.031 kB / 1.203 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001125/1.413, allocations: 457.9 kB / 1.203 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/1.426, allocations: 2.047 MB / 1.205 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005918/1.432, allocations: 1.803 MB / 1.207 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/1.432, allocations: 217.7 kB / 1.207 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008624/1.433, allocations: 287 kB / 1.208 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/1.45, allocations: 5.468 MB / 1.213 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-05/1.45, allocations: 3.938 kB / 1.213 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005208/1.45, allocations: 119.8 kB / 1.213 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005305/1.451, allocations: 246 kB / 1.213 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/1.467, allocations: 5.66 MB / 1.219 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03885/1.506, allocations: 22.44 MB / 1.241 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006178/1.512, allocations: 2.521 MB / 1.243 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/1.513, allocations: 112.7 kB / 1.243 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/1.513, allocations: 51.5 kB / 1.243 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=122): time 3.918e-06/1.513, allocations: 0 / 1.243 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=173): time 0.05258/1.565, allocations: 14.73 MB / 1.258 GB, free: 6.688 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/1.565, allocations: 69.41 kB / 1.258 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/1.567, allocations: 1.029 MB / 1.259 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004881/1.568, allocations: 57.7 kB / 1.259 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009801/1.569, allocations: 1.262 MB / 1.26 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008509/1.57, allocations: 0.5923 MB / 1.261 GB, free: 3.637 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/1.57, allocations: 44 kB / 1.261 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002935/1.57, allocations: 455.5 kB / 1.261 GB, free: 3.141 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/1.575, allocations: 2.007 MB / 1.263 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00538/1.58, allocations: 2.722 MB / 1.266 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005149/1.586, allocations: 2.359 MB / 1.268 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-05/1.586, allocations: 8 kB / 1.268 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01482/1.6, allocations: 6.16 MB / 1.274 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003965/1.604, allocations: 8.883 MB / 1.283 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.528e-05/1.605, allocations: 24 kB / 1.283 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004839/1.609, allocations: 1.394 MB / 1.284 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004168/1.614, allocations: 0.7682 MB / 1.285 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/1.637, allocations: 17.76 MB / 1.302 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/1.642, allocations: 494.9 kB / 1.303 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004622/1.642, allocations: 124 kB / 1.303 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.642, allocations: 4 kB / 1.303 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01434/1.656, allocations: 6.004 MB / 1.309 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.417e-05/1.657, allocations: 20.28 kB / 1.309 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003846/1.66, allocations: 1.379 MB / 1.31 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/1.664, allocations: 0.7643 MB / 1.311 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/1.685, allocations: 17.59 MB / 1.328 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/1.689, allocations: 479.1 kB / 1.328 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004073/1.69, allocations: 124 kB / 1.329 GB, free: 11.39 MB / 0.8386 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.003028/1.693, allocations: 1.328 MB / 1.33 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005112/1.693, allocations: 142.2 kB / 1.33 GB, free: 9.914 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.707, allocations: 5.759 MB / 1.336 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/1.707, allocations: 20 kB / 1.336 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/1.707, allocations: 8 kB / 1.336 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/1.707, allocations: 15.91 kB / 1.336 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/1.727, allocations: 9.327 MB / 1.345 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.728, allocations: 8 kB / 1.345 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.73, allocations: 0.5233 MB / 1.345 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003882/1.734, allocations: 1.188 MB / 1.346 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004103/1.734, allocations: 55.95 kB / 1.347 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/1.755, allocations: 17.03 MB / 1.363 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.755, allocations: 7.938 kB / 1.363 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/1.769, allocations: 5.343 MB / 1.368 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.771, allocations: 0.5538 MB / 1.369 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/1.771, allocations: 40 kB / 1.369 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.774, allocations: 443.2 kB / 1.369 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004417/1.774, allocations: 145 kB / 1.37 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.774, allocations: 71.89 kB / 1.37 GB, free: 68 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001379/1.776, allocations: 0.8051 MB / 1.37 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/1.776, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006089/1.782, allocations: 1.328 MB / 1.372 GB, free: 13.92 MB / 0.8855 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.01423/1.796, allocations: 7.804 MB / 1.379 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.5051/2.301, allocations: 9.535 MB / 1.389 GB, free: 254.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/2.301, allocations: 2.219 kB / 1.389 GB, free: 254.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007599/2.309, allocations: 3.298 MB / 1.392 GB, free: 253.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/2.31, allocations: 189.6 kB / 1.392 GB, free: 253.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05739/2.368, allocations: 35.41 MB / 1.427 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002533/2.37, allocations: 2.418 MB / 1.429 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004302/2.375, allocations: 1.261 MB / 1.43 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/2.376, allocations: 0.914 MB / 1.431 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/2.376, allocations: 0 / 1.431 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09422/2.471, allocations: 60.23 MB / 1.49 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/2.471, allocations: 245.6 kB / 1.49 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.875/6.346, allocations: 0 / 1.49 GB, free: 227.8 MB / 0.8855 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)