Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",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.586/2.586, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001408/0.001408, allocations: 180.8 kB / 360.6 MB, free: 7.273 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.058/2.058, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.00105/0.00105, allocations: 91.31 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.701e-05, allocations: 4 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.837/0.837, allocations: 115.2 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3213/1.158, allocations: 187 MB / 1.146 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/1.159, allocations: 100.5 kB / 1.146 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4926/1.652, allocations: 104.3 MB / 1.248 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.846e-06/1.652, allocations: 7.938 kB / 1.248 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001387/1.652, allocations: 60 kB / 1.248 GB, free: 8.152 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.01008/1.662, allocations: 2.36 MB / 1.25 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.793e-05/1.662, allocations: 8.031 kB / 1.25 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02037/1.682, allocations: 1.9 MB / 1.252 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/1.689, allocations: 1.678 MB / 1.254 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/1.689, allocations: 96 kB / 1.254 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/1.691, allocations: 164 kB / 1.254 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6558/2.346, allocations: 3.936 MB / 1.258 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/2.363, allocations: 4.379 MB / 1.262 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/2.364, allocations: 4.203 kB / 1.262 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/2.365, allocations: 3.75 kB / 1.262 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005044/2.365, allocations: 193 kB / 1.262 GB, free: 196.2 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04189/2.407, allocations: 22.11 MB / 1.284 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/2.412, allocations: 1.989 MB / 1.286 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00322/2.416, allocations: 1.132 MB / 1.287 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/2.416, allocations: 119 kB / 1.287 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/2.416, allocations: 55.12 kB / 1.287 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=116): time 4.559e-06/2.416, allocations: 0 / 1.287 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=146): time 0.02402/2.44, allocations: 7.026 MB / 1.294 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/2.44, allocations: 222.7 kB / 1.294 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/2.443, allocations: 0.8902 MB / 1.295 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000523/2.443, allocations: 25.7 kB / 1.295 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/2.444, allocations: 1.239 MB / 1.296 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009524/2.445, allocations: 495.2 kB / 1.297 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/2.445, allocations: 1.031 kB / 1.297 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002702/2.446, allocations: 423.2 kB / 1.297 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/2.449, allocations: 1.237 MB / 1.299 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/2.453, allocations: 1.911 MB / 1.3 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006415/2.46, allocations: 1.856 MB / 1.302 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.436e-05/2.46, allocations: 6.219 kB / 1.302 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01515/2.475, allocations: 4.125 MB / 1.306 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002041/2.477, allocations: 8.608 MB / 1.315 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/2.477, allocations: 26.09 kB / 1.315 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004079/2.481, allocations: 0.7515 MB / 1.315 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006849/2.488, allocations: 0.7623 MB / 1.316 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/2.51, allocations: 12.26 MB / 1.328 GB, free: 158 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006173/2.516, allocations: 436.4 kB / 1.329 GB, free: 158 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007188/2.517, allocations: 116.7 kB / 1.329 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/2.517, allocations: 7.609 kB / 1.329 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01393/2.531, allocations: 3.85 MB / 1.332 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/2.531, allocations: 23.78 kB / 1.332 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/2.534, allocations: 0.6613 MB / 1.333 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006773/2.541, allocations: 0.7559 MB / 1.334 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/2.557, allocations: 11.77 MB / 1.345 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005621/2.562, allocations: 412.4 kB / 1.346 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006257/2.563, allocations: 112 kB / 1.346 GB, free: 147.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008705/2.564, allocations: 166.5 kB / 1.346 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00987/2.574, allocations: 2.996 MB / 1.349 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009559/2.575, allocations: 128 kB / 1.349 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/2.586, allocations: 3.412 MB / 1.352 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/2.586, allocations: 17.78 kB / 1.352 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/2.586, allocations: 6.188 kB / 1.352 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/2.586, allocations: 12.45 kB / 1.352 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01849/2.604, allocations: 6.704 MB / 1.359 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/2.604, allocations: 10.62 kB / 1.359 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004774/2.609, allocations: 0.5101 MB / 1.359 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002997/2.612, allocations: 0.6316 MB / 1.36 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003796/2.613, allocations: 29.31 kB / 1.36 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01537/2.628, allocations: 11.56 MB / 1.371 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/2.628, allocations: 11.72 kB / 1.371 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009103/2.637, allocations: 3.586 MB / 1.375 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/2.639, allocations: 495.3 kB / 1.375 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/2.639, allocations: 14.23 kB / 1.375 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004915/2.644, allocations: 379.2 kB / 1.376 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000537/2.645, allocations: 128.9 kB / 1.376 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002351/2.645, allocations: 54.97 kB / 1.376 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001355/2.647, allocations: 0.6831 MB / 1.377 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.61e-07/2.647, allocations: 0 / 1.377 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007096/2.654, allocations: 1.039 MB / 1.378 GB, free: 129.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 (101): * Single equations (assignments): 95 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01036/2.664, allocations: 6.022 MB / 1.383 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01764/2.682, allocations: 6.304 MB / 1.39 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-05/2.682, allocations: 448 / 1.39 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005647/2.688, allocations: 2.147 MB / 1.392 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/2.689, allocations: 128.6 kB / 1.392 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/2.719, allocations: 6.475 MB / 1.398 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/2.722, allocations: 2.329 MB / 1.4 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007/2.729, allocations: 1.259 MB / 1.402 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/2.731, allocations: 0.8458 MB / 1.403 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.793e-06/2.731, allocations: 7.812 kB / 1.403 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/2.855, allocations: 46.5 MB / 1.448 GB, free: 87.29 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/2.855, allocations: 171.7 kB / 1.448 GB, free: 87.11 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.934/6.789, allocations: 7.516 kB / 1.448 GB, free: 87.1 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)