Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",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.585/2.585, 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.001456/0.001455, allocations: 180.8 kB / 360.6 MB, free: 7.281 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.311/2.311, 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.001076/0.001076, allocations: 97.23 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.822e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8353/0.8354, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3188/1.154, allocations: 186.3 MB / 1.145 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/1.155, allocations: 101.2 kB / 1.145 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4004/1.555, allocations: 98.17 MB / 1.241 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.225e-06/1.555, allocations: 0 / 1.241 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001377/1.555, allocations: 52 kB / 1.241 GB, free: 15.18 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.01107/1.566, allocations: 2.259 MB / 1.244 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.386e-05/1.566, allocations: 8.031 kB / 1.244 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02068/1.587, allocations: 1.885 MB / 1.245 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006225/1.593, allocations: 1.595 MB / 1.247 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/1.594, allocations: 88 kB / 1.247 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/1.595, allocations: 152 kB / 1.247 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01311/1.608, allocations: 3.834 MB / 1.251 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/1.623, allocations: 4.122 MB / 1.255 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.289e-05/1.623, allocations: 3.938 kB / 1.255 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005419/1.624, allocations: 4 kB / 1.255 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000555/1.624, allocations: 192.5 kB / 1.255 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.688/2.312, allocations: 20.38 MB / 1.275 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004941/2.317, allocations: 2.472 MB / 1.278 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/2.321, allocations: 1.37 MB / 1.279 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003333/2.321, allocations: 121.8 kB / 1.279 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/2.321, allocations: 57.41 kB / 1.279 GB, free: 190 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=139): time 4.478e-06/2.321, allocations: 0 / 1.279 GB, free: 190 MB / 0.8542 GB Notification: Performance of matching and sorting (n=181): time 0.02635/2.348, allocations: 7.749 MB / 1.287 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/2.348, allocations: 228.9 kB / 1.287 GB, free: 188 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/2.35, allocations: 0.8325 MB / 1.288 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000509/2.35, allocations: 26.64 kB / 1.288 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009164/2.351, allocations: 1.101 MB / 1.289 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/2.353, allocations: 0.5911 MB / 1.289 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/2.353, allocations: 0 / 1.289 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002907/2.353, allocations: 432.9 kB / 1.29 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/2.357, allocations: 1.377 MB / 1.291 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/2.361, allocations: 1.935 MB / 1.293 GB, free: 186 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006819/2.368, allocations: 2.026 MB / 1.295 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.798e-05/2.368, allocations: 5.438 kB / 1.295 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01642/2.384, allocations: 4.58 MB / 1.299 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001651/2.386, allocations: 6.703 MB / 1.306 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.775e-05/2.386, allocations: 17.06 kB / 1.306 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004801/2.391, allocations: 0.9734 MB / 1.307 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006917/2.398, allocations: 0.7489 MB / 1.308 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02443/2.423, allocations: 10 MB / 1.317 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006292/2.429, allocations: 422.2 kB / 1.318 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008292/2.43, allocations: 112.6 kB / 1.318 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/2.43, allocations: 4.031 kB / 1.318 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01552/2.445, allocations: 4.312 MB / 1.322 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/2.446, allocations: 17.53 kB / 1.322 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003728/2.449, allocations: 0.8275 MB / 1.323 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006869/2.456, allocations: 0.746 MB / 1.324 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/2.476, allocations: 9.592 MB / 1.333 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/2.482, allocations: 406.1 kB / 1.333 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007005/2.482, allocations: 108.4 kB / 1.334 GB, free: 164.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008813/2.483, allocations: 170.1 kB / 1.334 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0114/2.495, allocations: 3.605 MB / 1.337 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009976/2.496, allocations: 127.4 kB / 1.337 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/2.509, allocations: 4.275 MB / 1.342 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-05/2.509, allocations: 20.7 kB / 1.342 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/2.509, allocations: 10.97 kB / 1.342 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/2.509, allocations: 14.16 kB / 1.342 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/2.53, allocations: 7.246 MB / 1.349 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/2.53, allocations: 7.719 kB / 1.349 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004945/2.535, allocations: 0.5288 MB / 1.349 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/2.538, allocations: 0.8521 MB / 1.35 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/2.539, allocations: 33.05 kB / 1.35 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/2.557, allocations: 9.317 MB / 1.359 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/2.557, allocations: 11.75 kB / 1.359 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/2.567, allocations: 4.146 MB / 1.363 GB, free: 150 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/2.57, allocations: 0.5292 MB / 1.364 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006009/2.57, allocations: 11.83 kB / 1.364 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005217/2.575, allocations: 374.3 kB / 1.364 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006928/2.576, allocations: 161.9 kB / 1.364 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/2.576, allocations: 68.06 kB / 1.364 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001321/2.578, allocations: 0.654 MB / 1.365 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.71e-07/2.578, allocations: 0 / 1.365 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007519/2.585, allocations: 1.087 MB / 1.366 GB, free: 149.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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01165/2.597, allocations: 6.583 MB / 1.372 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01829/2.615, allocations: 6.328 MB / 1.379 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/2.615, allocations: 5.5 kB / 1.379 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005862/2.621, allocations: 2.053 MB / 1.381 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/2.623, allocations: 122.1 kB / 1.381 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/2.653, allocations: 6.425 MB / 1.387 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003845/2.657, allocations: 2.28 MB / 1.389 GB, free: 138 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007501/2.664, allocations: 1.316 MB / 1.391 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/2.667, allocations: 0.8059 MB / 1.391 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.403e-06/2.667, allocations: 4 kB / 1.391 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1337/2.801, allocations: 50.53 MB / 1.441 GB, free: 97.89 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002684/2.801, allocations: 173 kB / 1.441 GB, free: 97.71 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.12/6.921, allocations: 0 / 1.441 GB, free: 97.71 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)