Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 293 MB / 309 MB, free: 4.84 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.001042/0.001042, allocations: 172.5 kB / 378.7 MB, free: 1.039 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.771/1.771, allocations: 205.4 MB / 0.6383 GB, free: 8.25 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.0008429/0.0008426, allocations: 94.39 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004074, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2713, allocations: 116.4 MB / 0.9905 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8382/1.11, allocations: 189 MB / 1.175 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.11, allocations: 103.9 kB / 1.175 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.252/1.362, allocations: 105.4 MB / 1.278 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.286e-06/1.362, allocations: 0 / 1.278 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001815/1.362, allocations: 60 kB / 1.278 GB, free: 14.09 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.01079/1.373, allocations: 2.4 MB / 1.28 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.326e-05/1.373, allocations: 8.031 kB / 1.28 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/1.385, allocations: 1.901 MB / 1.282 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00587/1.391, allocations: 1.688 MB / 1.284 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004051/1.391, allocations: 230.2 kB / 1.284 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002802/1.394, allocations: 288.3 kB / 1.284 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/1.414, allocations: 5.337 MB / 1.29 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/1.414, allocations: 8.125 kB / 1.29 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001245/1.415, allocations: 119.9 kB / 1.29 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003914/1.416, allocations: 196.9 kB / 1.29 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/1.431, allocations: 5.366 MB / 1.295 GB, free: 12.34 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03459/1.466, allocations: 22.78 MB / 1.317 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005666/1.472, allocations: 2.505 MB / 1.32 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00414/1.476, allocations: 1.64 MB / 1.321 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/1.476, allocations: 118 kB / 1.322 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/1.476, allocations: 55.5 kB / 1.322 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=116): time 3.767e-06/1.476, allocations: 0 / 1.322 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=146): time 0.0375/1.514, allocations: 11.61 MB / 1.333 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/1.514, allocations: 230.9 kB / 1.333 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/1.516, allocations: 1.039 MB / 1.334 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003606/1.516, allocations: 49.7 kB / 1.334 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009051/1.517, allocations: 1.239 MB / 1.335 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008434/1.518, allocations: 0.5007 MB / 1.336 GB, free: 244 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/1.518, allocations: 43.94 kB / 1.336 GB, free: 200 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003424/1.518, allocations: 427 kB / 1.336 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005215/1.524, allocations: 1.76 MB / 1.338 GB, free: 14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005165/1.529, allocations: 2.443 MB / 1.34 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009164/1.538, allocations: 4.222 MB / 1.345 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/1.538, allocations: 4 kB / 1.345 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01264/1.551, allocations: 5.048 MB / 1.35 GB, free: 1.637 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000645/1.551, allocations: 0.7299 MB / 1.35 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.283e-05/1.551, allocations: 24 kB / 1.35 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/1.554, allocations: 0.887 MB / 1.351 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/1.558, allocations: 0.7643 MB / 1.352 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.572, allocations: 12.8 MB / 1.364 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/1.576, allocations: 474.9 kB / 1.365 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007352/1.577, allocations: 116 kB / 1.365 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.577, allocations: 4 kB / 1.365 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6334/2.21, allocations: 4.876 MB / 1.37 GB, free: 204 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.801e-05/2.21, allocations: 21.81 kB / 1.37 GB, free: 204 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/2.212, allocations: 0.7634 MB / 1.37 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003171/2.215, allocations: 0.7599 MB / 1.371 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/2.227, allocations: 12.63 MB / 1.384 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/2.231, allocations: 451.4 kB / 1.384 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/2.231, allocations: 116 kB / 1.384 GB, free: 196.5 MB / 0.9323 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 () * Number of clocked 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.003013/2.234, allocations: 1.291 MB / 1.385 GB, free: 196.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/2.235, allocations: 118.2 kB / 1.385 GB, free: 196.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/2.247, allocations: 4.376 MB / 1.39 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/2.247, allocations: 15.16 kB / 1.39 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/2.247, allocations: 16.91 kB / 1.39 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/2.247, allocations: 10.22 kB / 1.39 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/2.266, allocations: 8.219 MB / 1.398 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/2.266, allocations: 7.344 kB / 1.398 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/2.268, allocations: 0.5169 MB / 1.398 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/2.271, allocations: 0.7101 MB / 1.399 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/2.271, allocations: 57.86 kB / 1.399 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/2.283, allocations: 12.28 MB / 1.411 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/2.283, allocations: 10 kB / 1.411 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009296/2.292, allocations: 4.215 MB / 1.415 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009918/2.293, allocations: 491.9 kB / 1.416 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/2.293, allocations: 37.19 kB / 1.416 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/2.296, allocations: 394.8 kB / 1.416 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003751/2.296, allocations: 127.1 kB / 1.416 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/2.296, allocations: 65.45 kB / 1.416 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001088/2.297, allocations: 0.7265 MB / 1.417 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/2.297, allocations: 0 / 1.417 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0049/2.302, allocations: 1.176 MB / 1.418 GB, free: 186.4 MB / 0.9323 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 (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.0003945/2.302, allocations: 162.1 kB / 1.418 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01625/2.319, allocations: 8.003 MB / 1.426 GB, free: 184.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/2.319, allocations: 0 / 1.426 GB, free: 184.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005522/2.324, allocations: 2.709 MB / 1.429 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/2.326, allocations: 176.7 kB / 1.429 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/2.346, allocations: 8.169 MB / 1.437 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/2.348, allocations: 2.295 MB / 1.439 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004385/2.353, allocations: 1.233 MB / 1.44 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/2.353, allocations: 129 kB / 1.44 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.403e-06/2.353, allocations: 0.5625 kB / 1.44 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.05442/2.408, allocations: 30.25 MB / 1.47 GB, free: 179.4 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)