Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.638/1.638, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009235/0.0009235, allocations: 192.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 0.6626 GB, free: 4.383 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008502/0.0008505, allocations: 96.83 kB / 0.7808 GB, free: 43.58 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004183, allocations: 20.81 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.602/0.6024, allocations: 120.3 MB / 1.026 GB, free: 56.05 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.8218, allocations: 191.1 MB / 1.213 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.8221, allocations: 96.97 kB / 1.213 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.7004/1.523, allocations: 113.7 MB / 1.324 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.335e-06/1.523, allocations: 0.75 kB / 1.324 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001217/1.523, allocations: 58.72 kB / 1.324 GB, free: 170.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.007263/1.53, allocations: 2.473 MB / 1.327 GB, free: 169 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.53, allocations: 9.344 kB / 1.327 GB, free: 169 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/1.541, allocations: 1.907 MB / 1.328 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/1.545, allocations: 1.745 MB / 1.33 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/1.545, allocations: 224.3 kB / 1.33 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006476/1.546, allocations: 297.1 kB / 1.331 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/1.556, allocations: 5.475 MB / 1.336 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-05/1.556, allocations: 4.594 kB / 1.336 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/1.557, allocations: 128.5 kB / 1.336 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002723/1.557, allocations: 197.5 kB / 1.336 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/1.569, allocations: 5.495 MB / 1.342 GB, free: 168.1 MB / 0.8855 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.02139/1.59, allocations: 22.8 MB / 1.364 GB, free: 156 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/1.594, allocations: 2.509 MB / 1.366 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003588/1.598, allocations: 1.803 MB / 1.368 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/1.598, allocations: 120.9 kB / 1.368 GB, free: 155 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/1.598, allocations: 54.94 kB / 1.368 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=123): time 4.108e-06/1.598, allocations: 0 / 1.368 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=153): time 0.03117/1.63, allocations: 11.77 MB / 1.38 GB, free: 151 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/1.63, allocations: 229.1 kB / 1.38 GB, free: 150.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/1.631, allocations: 1.067 MB / 1.381 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002482/1.631, allocations: 48.23 kB / 1.381 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/1.632, allocations: 1.257 MB / 1.382 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004528/1.632, allocations: 0.5273 MB / 1.383 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/1.632, allocations: 45.84 kB / 1.383 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.632, allocations: 428.3 kB / 1.383 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/1.636, allocations: 1.803 MB / 1.385 GB, free: 148 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003879/1.64, allocations: 2.49 MB / 1.387 GB, free: 146.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007856/1.648, allocations: 4.306 MB / 1.392 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/1.648, allocations: 6.75 kB / 1.392 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01133/1.659, allocations: 5.156 MB / 1.397 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003958/1.66, allocations: 0.7239 MB / 1.397 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.491e-05/1.66, allocations: 21.91 kB / 1.397 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/1.662, allocations: 0.8752 MB / 1.398 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/1.666, allocations: 0.7762 MB / 1.399 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/1.677, allocations: 12.77 MB / 1.412 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003252/1.681, allocations: 470.2 kB / 1.412 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005703/1.681, allocations: 112.8 kB / 1.412 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/1.681, allocations: 5.438 kB / 1.412 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01268/1.694, allocations: 4.994 MB / 1.417 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.528e-05/1.694, allocations: 24.62 kB / 1.417 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/1.696, allocations: 0.7477 MB / 1.418 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/1.7, allocations: 0.776 MB / 1.418 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1.712, allocations: 12.59 MB / 1.431 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/1.716, allocations: 454.9 kB / 1.431 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007807/1.717, allocations: 111.8 kB / 1.431 GB, free: 119.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (240): * Single equations (assignments): 234 * 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.003157/1.72, allocations: 1.335 MB / 1.433 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/1.72, allocations: 121 kB / 1.433 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/1.732, allocations: 4.606 MB / 1.437 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/1.732, allocations: 15.62 kB / 1.437 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/1.732, allocations: 7.812 kB / 1.437 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/1.732, allocations: 6.141 kB / 1.437 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/1.747, allocations: 8.281 MB / 1.445 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/1.747, allocations: 13.31 kB / 1.445 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/1.749, allocations: 0.5244 MB / 1.446 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/1.751, allocations: 0.7057 MB / 1.447 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/1.751, allocations: 54.56 kB / 1.447 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009428/1.761, allocations: 12.24 MB / 1.459 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.761, allocations: 11.06 kB / 1.459 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009038/1.77, allocations: 4.273 MB / 1.463 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.771, allocations: 0.505 MB / 1.463 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/1.771, allocations: 33.88 kB / 1.463 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/1.774, allocations: 404.6 kB / 1.464 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/1.774, allocations: 132.3 kB / 1.464 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.774, allocations: 62.53 kB / 1.464 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001088/1.775, allocations: 0.7673 MB / 1.465 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.775, allocations: 2.719 kB / 1.465 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005119/1.78, allocations: 1.198 MB / 1.466 GB, free: 101.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (107): * Single equations (assignments): 101 * 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.0003538/1.781, allocations: 172.3 kB / 1.466 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01521/1.796, allocations: 8.143 MB / 1.474 GB, free: 97.95 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.796, allocations: 0 / 1.474 GB, free: 97.95 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005239/1.801, allocations: 2.745 MB / 1.477 GB, free: 96.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/1.804, allocations: 176 kB / 1.477 GB, free: 96.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.822, allocations: 8.335 MB / 1.485 GB, free: 93.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/1.825, allocations: 2.331 MB / 1.487 GB, free: 91.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004007/1.829, allocations: 1.297 MB / 1.488 GB, free: 91.79 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/1.829, allocations: 131.6 kB / 1.489 GB, free: 91.77 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/1.829, allocations: 0 / 1.489 GB, free: 91.77 MB / 0.8855 GB Notification: Performance of Templates: time 0.04362/1.873, allocations: 30.67 MB / 1.518 GB, free: 82.52 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)