Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001029, allocations: 178.4 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007508/0.0007507, allocations: 83.98 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003245, allocations: 8.719 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2073, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY): time 0.01423/0.2216, allocations: 16.53 MB / 0.9129 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008391/0.23, allocations: 6.115 MB / 0.9189 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.2314, allocations: 39.88 kB / 0.9189 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.2347, allocations: 1.362 MB / 0.9202 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.2374, allocations: 1.004 MB / 0.9212 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.2397, allocations: 0.9514 MB / 0.9221 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00476/0.2445, allocations: 6.577 MB / 0.9286 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007457/0.2519, allocations: 6.653 MB / 0.9351 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.2543, allocations: 1.362 MB / 0.9364 GB, free: 27.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.257, allocations: 1.97 MB / 0.9383 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004629/0.2575, allocations: 196 kB / 0.9385 GB, free: 25.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.2595, allocations: 1.053 MB / 0.9395 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.261, allocations: 1.462 MB / 0.941 GB, free: 22.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.263, allocations: 1.4 MB / 0.9423 GB, free: 21.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004249/0.2673, allocations: 5.61 MB / 0.9478 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2673, allocations: 0 / 0.9478 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2674, allocations: 0 / 0.9478 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001404/0.2675, allocations: 7.938 kB / 0.9478 GB, free: 15.68 MB / 0.6042 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.0047/0.2722, allocations: 2.456 MB / 0.9502 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2723, allocations: 12.03 kB / 0.9502 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009845/0.2821, allocations: 2.026 MB / 0.9522 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/0.2853, allocations: 1.651 MB / 0.9538 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.2854, allocations: 226.5 kB / 0.954 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006408/0.2861, allocations: 292.4 kB / 0.9543 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.2972, allocations: 5.932 MB / 0.9601 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/0.2973, allocations: 4 kB / 0.9601 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.2977, allocations: 124 kB / 0.9602 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002673/0.2979, allocations: 212.9 kB / 0.9604 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.3113, allocations: 5.967 MB / 0.9662 GB, free: 12.57 MB / 0.6198 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.02628/0.3376, allocations: 23.02 MB / 0.9887 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005105/0.3428, allocations: 2.511 MB / 0.9912 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004428/0.3472, allocations: 1.803 MB / 0.9929 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.3474, allocations: 118 kB / 0.9931 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.3475, allocations: 55.5 kB / 0.9931 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=123): time 3.877e-06/0.3475, allocations: 0 / 0.9931 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.0352/0.3827, allocations: 11.75 MB / 1.005 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.3829, allocations: 230.9 kB / 1.005 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.3842, allocations: 1.067 MB / 1.006 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.3844, allocations: 49.7 kB / 1.006 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007547/0.3852, allocations: 1.262 MB / 1.007 GB, free: 408 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005577/0.3858, allocations: 0.5318 MB / 1.008 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.3861, allocations: 186 kB / 1.008 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3862, allocations: 334 kB / 1.008 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00445/0.3907, allocations: 1.827 MB / 1.01 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00492/0.3956, allocations: 2.509 MB / 1.012 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00928/0.4049, allocations: 4.364 MB / 1.017 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-05/0.405, allocations: 4 kB / 1.017 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01277/0.4177, allocations: 5.212 MB / 1.022 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006308/0.4184, allocations: 0.7265 MB / 1.022 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.4185, allocations: 24 kB / 1.022 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00286/0.4213, allocations: 0.8832 MB / 1.023 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/0.4247, allocations: 0.776 MB / 1.024 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.4382, allocations: 12.8 MB / 1.037 GB, free: 456 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.4416, allocations: 459.1 kB / 1.037 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003158/0.4419, allocations: 119.9 kB / 1.037 GB, free: 15.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.442, allocations: 4 kB / 1.037 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01189/0.4539, allocations: 5.028 MB / 1.042 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.206e-05/0.454, allocations: 20 kB / 1.042 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/0.4561, allocations: 0.7549 MB / 1.043 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.4594, allocations: 0.7682 MB / 1.044 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4048/0.8642, allocations: 12.62 MB / 1.056 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/0.8672, allocations: 442.8 kB / 1.056 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/0.8676, allocations: 118.6 kB / 1.056 GB, free: 136.9 MB / 0.698 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002386/0.8699, allocations: 1.326 MB / 1.058 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/0.8704, allocations: 126 kB / 1.058 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.8829, allocations: 4.601 MB / 1.062 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.933e-05/0.8829, allocations: 15.41 kB / 1.062 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/0.883, allocations: 8.969 kB / 1.062 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.883, allocations: 9.547 kB / 1.062 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/0.9019, allocations: 8.321 MB / 1.07 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/0.9019, allocations: 8.453 kB / 1.07 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.9044, allocations: 0.5289 MB / 1.071 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/0.9066, allocations: 0.7132 MB / 1.072 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/0.9068, allocations: 49.3 kB / 1.072 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.9172, allocations: 12.27 MB / 1.084 GB, free: 125.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.9172, allocations: 11.81 kB / 1.084 GB, free: 125.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009709/0.9269, allocations: 4.302 MB / 1.088 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008465/0.9278, allocations: 480.4 kB / 1.088 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.9281, allocations: 39.39 kB / 1.088 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/0.9306, allocations: 392 kB / 1.089 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000429/0.931, allocations: 136.3 kB / 1.089 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.9312, allocations: 66.77 kB / 1.089 GB, free: 123.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00122/0.9324, allocations: 0.7721 MB / 1.09 GB, free: 122.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9324, allocations: 0 / 1.09 GB, free: 122.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004276/0.9367, allocations: 1.154 MB / 1.091 GB, free: 122.6 MB / 0.698 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003423/0.9371, allocations: 154 kB / 1.091 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01653/0.9536, allocations: 8.194 MB / 1.099 GB, free: 117.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.9537, allocations: 4.062 kB / 1.099 GB, free: 117.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005456/0.9591, allocations: 2.753 MB / 1.102 GB, free: 115 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.9614, allocations: 192.9 kB / 1.102 GB, free: 114.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/0.979, allocations: 9.089 MB / 1.111 GB, free: 105.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.9809, allocations: 2.395 MB / 1.113 GB, free: 103.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008408/0.9818, allocations: 169.4 kB / 1.113 GB, free: 103 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/0.9818, allocations: 0 / 1.113 GB, free: 103 MB / 0.698 GB Notification: Performance of Templates: time 0.09725/1.079, allocations: 128.2 MB / 1.239 GB, free: 6.629 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)