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.TransformerDD.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.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001084/0.001084, allocations: 182.2 kB / 326.5 MB, free: 2.699 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.718/1.718, allocations: 205 MB / 0.5766 GB, free: 21.07 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.0006867/0.0006867, allocations: 87.91 kB / 0.6803 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 8.719 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1869, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01289/0.1999, allocations: 15.28 MB / 0.9117 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007529/0.2075, allocations: 5.854 MB / 0.9174 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.2087, allocations: 39.88 kB / 0.9174 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.2115, allocations: 1.147 MB / 0.9186 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.2138, allocations: 0.9343 MB / 0.9195 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.216, allocations: 0.9301 MB / 0.9204 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00455/0.2205, allocations: 6.008 MB / 0.9262 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006642/0.2272, allocations: 5.658 MB / 0.9318 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.2291, allocations: 1.249 MB / 0.933 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/0.2318, allocations: 1.811 MB / 0.9348 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006868/0.2325, allocations: 180 kB / 0.9349 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.2346, allocations: 1.037 MB / 0.9359 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.2362, allocations: 1.337 MB / 0.9372 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.2381, allocations: 1.275 MB / 0.9385 GB, free: 25.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.2419, allocations: 5.01 MB / 0.9434 GB, free: 20.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2419, allocations: 0 / 0.9434 GB, free: 20.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2419, allocations: 0 / 0.9434 GB, free: 20.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001053/0.242, allocations: 0 / 0.9434 GB, free: 20.28 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.004046/0.2461, allocations: 2.286 MB / 0.9456 GB, free: 17.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2461, allocations: 12.03 kB / 0.9456 GB, free: 17.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009905/0.256, allocations: 1.995 MB / 0.9476 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.2588, allocations: 1.534 MB / 0.9491 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.2589, allocations: 201.8 kB / 0.9493 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005756/0.2595, allocations: 268.4 kB / 0.9495 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00977/0.2693, allocations: 5.459 MB / 0.9549 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/0.2694, allocations: 0 / 0.9549 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.2697, allocations: 112 kB / 0.955 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002556/0.2699, allocations: 200.4 kB / 0.9551 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/0.2821, allocations: 5.704 MB / 0.9607 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02395/0.306, allocations: 21.27 MB / 0.9815 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/0.3117, allocations: 3.013 MB / 0.9844 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005018/0.3168, allocations: 2.102 MB / 0.9865 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.317, allocations: 122 kB / 0.9866 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.3171, allocations: 51.56 kB / 0.9866 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=139): time 4.027e-06/0.3171, allocations: 4 kB / 0.9867 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=181): time 0.03912/0.3562, allocations: 12.97 MB / 0.9993 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.3564, allocations: 230.9 kB / 0.9995 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.3577, allocations: 0.9765 MB / 1 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.358, allocations: 61.64 kB / 1.001 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006824/0.3586, allocations: 1.092 MB / 1.002 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/0.3593, allocations: 0.6161 MB / 1.002 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.3596, allocations: 186.2 kB / 1.002 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3597, allocations: 338 kB / 1.003 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/0.3644, allocations: 1.917 MB / 1.005 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00514/0.3695, allocations: 2.501 MB / 1.007 GB, free: 420 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009657/0.3792, allocations: 4.462 MB / 1.011 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.3793, allocations: 4 kB / 1.011 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01327/0.3925, allocations: 5.521 MB / 1.017 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/0.3931, allocations: 0.6058 MB / 1.017 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.3931, allocations: 20 kB / 1.017 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003331/0.3964, allocations: 1.219 MB / 1.019 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.3998, allocations: 0.7487 MB / 1.019 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/0.414, allocations: 10.49 MB / 1.03 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/0.4174, allocations: 455.1 kB / 1.03 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003995/0.4179, allocations: 111.9 kB / 1.03 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.4179, allocations: 6.969 kB / 1.03 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01292/0.4308, allocations: 5.349 MB / 1.035 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.884e-05/0.4309, allocations: 19.98 kB / 1.035 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/0.4335, allocations: 0.9504 MB / 1.036 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003377/0.4369, allocations: 0.7448 MB / 1.037 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.4503, allocations: 10.35 MB / 1.047 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.4535, allocations: 439.2 kB / 1.048 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002995/0.4538, allocations: 108 kB / 1.048 GB, free: 5.746 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002187/0.456, allocations: 1.22 MB / 1.049 GB, free: 4.516 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.4564, allocations: 130.4 kB / 1.049 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4038/0.8603, allocations: 5.212 MB / 1.054 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.602e-05/0.8604, allocations: 21.66 kB / 1.054 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.244e-05/0.8605, allocations: 12.81 kB / 1.054 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.841e-05/0.8605, allocations: 9.891 kB / 1.054 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/0.8803, allocations: 8.858 MB / 1.063 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/0.8804, allocations: 8.547 kB / 1.063 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/0.8831, allocations: 0.5352 MB / 1.063 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/0.8863, allocations: 0.9682 MB / 1.064 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000279/0.8866, allocations: 58.81 kB / 1.064 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/0.9005, allocations: 9.973 MB / 1.074 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.9006, allocations: 10.94 kB / 1.074 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/0.9116, allocations: 4.849 MB / 1.079 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009762/0.9126, allocations: 0.5072 MB / 1.079 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/0.9131, allocations: 40.2 kB / 1.079 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/0.9156, allocations: 400.3 kB / 1.08 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00041/0.916, allocations: 161.4 kB / 1.08 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.9162, allocations: 68.95 kB / 1.08 GB, free: 134.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001056/0.9173, allocations: 0.7251 MB / 1.081 GB, free: 134.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.233e-06/0.9173, allocations: 0 / 1.081 GB, free: 134.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004706/0.922, allocations: 1.182 MB / 1.082 GB, free: 134 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,32,100.0%), (7,29,63.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000397/0.9224, allocations: 158.6 kB / 1.082 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01798/0.9404, allocations: 8.152 MB / 1.09 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.9404, allocations: 3.812 kB / 1.09 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005738/0.9462, allocations: 2.666 MB / 1.092 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.9487, allocations: 201.2 kB / 1.093 GB, free: 128.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/0.9677, allocations: 8.863 MB / 1.101 GB, free: 119.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/0.9702, allocations: 2.287 MB / 1.104 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009565/0.9712, allocations: 163.3 kB / 1.104 GB, free: 117.3 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/0.9712, allocations: 0 / 1.104 GB, free: 117.3 MB / 0.698 GB Notification: Performance of Templates: time 0.06243/1.034, allocations: 63.66 MB / 1.166 GB, free: 53.61 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)