Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.857/2.857, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001406/0.001406, allocations: 169 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001055/0.001054, allocations: 88.03 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.894e-05, allocations: 0 / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8989/0.899, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/1.225, allocations: 191.4 MB / 1.15 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/1.225, allocations: 96.92 kB / 1.15 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.229/2.455, allocations: 120.2 MB / 1.268 GB, free: 196 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.676e-06/2.455, allocations: 0 / 1.268 GB, free: 196 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001801/2.455, allocations: 58.97 kB / 1.268 GB, free: 196 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.01151/2.466, allocations: 2.426 MB / 1.27 GB, free: 195 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/2.466, allocations: 10.55 kB / 1.27 GB, free: 195 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02288/2.489, allocations: 2.054 MB / 1.272 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00741/2.497, allocations: 1.786 MB / 1.274 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/2.497, allocations: 94.5 kB / 1.274 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/2.499, allocations: 168.1 kB / 1.274 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0143/2.513, allocations: 4.094 MB / 1.278 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/2.533, allocations: 4.524 MB / 1.283 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/2.533, allocations: 4.328 kB / 1.283 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/2.535, allocations: 2.766 kB / 1.283 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009519/2.536, allocations: 255.4 kB / 1.283 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04793/2.584, allocations: 21.8 MB / 1.304 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/2.589, allocations: 2.023 MB / 1.306 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/2.592, allocations: 1.201 MB / 1.307 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003143/2.593, allocations: 104.4 kB / 1.308 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/2.593, allocations: 49.56 kB / 1.308 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=122): time 4.619e-06/2.593, allocations: 0 / 1.308 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173): time 0.02879/2.622, allocations: 6.984 MB / 1.314 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/2.622, allocations: 70.41 kB / 1.314 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/2.624, allocations: 0.9698 MB / 1.315 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006056/2.625, allocations: 26.98 kB / 1.315 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/2.626, allocations: 1.259 MB / 1.317 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/2.627, allocations: 0.5708 MB / 1.317 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003728/2.628, allocations: 5.125 kB / 1.317 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003063/2.628, allocations: 444.7 kB / 1.318 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/2.632, allocations: 1.48 MB / 1.319 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/2.637, allocations: 2.174 MB / 1.321 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006907/2.644, allocations: 2.138 MB / 1.323 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-05/2.644, allocations: 3.906 kB / 1.323 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01811/2.662, allocations: 5.259 MB / 1.328 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002211/2.664, allocations: 8.879 MB / 1.337 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/2.664, allocations: 24.38 kB / 1.337 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007202/2.672, allocations: 1.377 MB / 1.339 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006625/2.678, allocations: 0.7638 MB / 1.339 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03142/2.71, allocations: 16.71 MB / 1.356 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006449/2.716, allocations: 443.8 kB / 1.356 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007952/2.717, allocations: 123 kB / 1.356 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/2.717, allocations: 3.875 kB / 1.356 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01678/2.734, allocations: 4.963 MB / 1.361 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/2.734, allocations: 25.78 kB / 1.361 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006133/2.74, allocations: 1.316 MB / 1.362 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00654/2.747, allocations: 0.7642 MB / 1.363 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02609/2.773, allocations: 16.1 MB / 1.379 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006119/2.779, allocations: 424.7 kB / 1.379 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000792/2.78, allocations: 123.1 kB / 1.379 GB, free: 138 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.000857/2.781, allocations: 170.9 kB / 1.379 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01383/2.795, allocations: 4.125 MB / 1.383 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/2.796, allocations: 133.8 kB / 1.384 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/2.811, allocations: 4.773 MB / 1.388 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.329e-05/2.811, allocations: 15.34 kB / 1.388 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/2.811, allocations: 15.45 kB / 1.388 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.692e-05/2.811, allocations: 14.34 kB / 1.388 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/2.835, allocations: 8.046 MB / 1.396 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/2.835, allocations: 3.938 kB / 1.396 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004803/2.84, allocations: 0.5163 MB / 1.397 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005982/2.846, allocations: 1.163 MB / 1.398 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004584/2.846, allocations: 29.17 kB / 1.398 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/2.873, allocations: 15.89 MB / 1.413 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/2.874, allocations: 11.94 kB / 1.413 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/2.886, allocations: 4.408 MB / 1.418 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/2.888, allocations: 0.5403 MB / 1.418 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006466/2.889, allocations: 11.89 kB / 1.418 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005314/2.894, allocations: 417 kB / 1.419 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006135/2.895, allocations: 149.6 kB / 1.419 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002656/2.895, allocations: 66.41 kB / 1.419 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001438/2.897, allocations: 0.7417 MB / 1.42 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.71e-07/2.897, allocations: 3.938 kB / 1.42 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006846/2.904, allocations: 1.199 MB / 1.421 GB, free: 111.4 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.01285/2.917, allocations: 6.83 MB / 1.427 GB, free: 105 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02094/2.938, allocations: 7.67 MB / 1.435 GB, free: 98.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/2.938, allocations: 4.625 kB / 1.435 GB, free: 98.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007984/2.946, allocations: 2.697 MB / 1.437 GB, free: 95.65 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/2.948, allocations: 167.9 kB / 1.438 GB, free: 95.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/2.979, allocations: 6.971 MB / 1.444 GB, free: 89.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003828/2.983, allocations: 2.42 MB / 1.447 GB, free: 87.87 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007307/2.99, allocations: 1.292 MB / 1.448 GB, free: 87.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/2.992, allocations: 0.9048 MB / 1.449 GB, free: 86.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.383e-06/2.992, allocations: 0 / 1.449 GB, free: 86.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.155/3.147, allocations: 60.04 MB / 1.508 GB, free: 28.29 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/3.148, allocations: 181 kB / 1.508 GB, free: 28.09 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.751/7.899, allocations: 0 / 1.508 GB, free: 28.09 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)