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.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.353/1.353, 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.0009369/0.000937, allocations: 170.6 kB / 326.5 MB, free: 2.672 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.753/1.753, allocations: 205 MB / 0.5766 GB, free: 20.55 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.0008768/0.0008768, allocations: 97.27 kB / 0.6804 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 11.97 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 105.4 MB / 0.8968 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01409/0.2178, allocations: 16.65 MB / 0.913 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008022/0.2258, allocations: 6.185 MB / 0.9191 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2271, allocations: 43.81 kB / 0.9191 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003289/0.2304, allocations: 1.45 MB / 0.9205 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.2333, allocations: 0.9927 MB / 0.9215 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.2358, allocations: 0.9576 MB / 0.9224 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00452/0.2404, allocations: 6.444 MB / 0.9287 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006438/0.2468, allocations: 6.317 MB / 0.9349 GB, free: 28.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.2488, allocations: 1.331 MB / 0.9362 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.251, allocations: 1.943 MB / 0.9381 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.2514, allocations: 192 kB / 0.9383 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.2533, allocations: 1.045 MB / 0.9393 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.2543, allocations: 1.442 MB / 0.9407 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.2555, allocations: 1.368 MB / 0.942 GB, free: 21.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003731/0.2592, allocations: 5.396 MB / 0.9473 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2592, allocations: 0 / 0.9473 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2592, allocations: 0 / 0.9473 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.032e-05/0.2593, allocations: 0 / 0.9473 GB, free: 15.69 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.004175/0.2635, allocations: 2.397 MB / 0.9496 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2636, allocations: 12.03 kB / 0.9496 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009871/0.2734, allocations: 2.022 MB / 0.9516 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.2766, allocations: 1.6 MB / 0.9532 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.2768, allocations: 222.3 kB / 0.9534 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005707/0.2774, allocations: 288.3 kB / 0.9537 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.2882, allocations: 5.766 MB / 0.9593 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.505e-05/0.2883, allocations: 3.938 kB / 0.9593 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/0.2886, allocations: 120 kB / 0.9594 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002486/0.2889, allocations: 208.9 kB / 0.9596 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.3018, allocations: 5.815 MB / 0.9653 GB, free: 13.03 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.02982/0.3317, allocations: 22.86 MB / 0.9876 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005802/0.3375, allocations: 2.515 MB / 0.9901 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004255/0.3418, allocations: 1.636 MB / 0.9917 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.3421, allocations: 122 kB / 0.9918 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.3421, allocations: 47.5 kB / 0.9918 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=116): time 3.236e-06/0.3421, allocations: 0 / 0.9918 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=146): time 0.03695/0.3791, allocations: 11.59 MB / 1.003 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.3792, allocations: 230.8 kB / 1.003 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.3809, allocations: 1.047 MB / 1.004 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002442/0.3812, allocations: 49.7 kB / 1.004 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008157/0.382, allocations: 1.242 MB / 1.006 GB, free: 1.332 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005898/0.3826, allocations: 0.5046 MB / 1.006 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.383, allocations: 173.9 kB / 1.006 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3831, allocations: 337.9 kB / 1.007 GB, free: 316 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004524/0.3876, allocations: 1.776 MB / 1.008 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004914/0.3926, allocations: 2.475 MB / 1.011 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009119/0.4017, allocations: 4.269 MB / 1.015 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-05/0.4018, allocations: 8 kB / 1.015 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01257/0.4143, allocations: 5.091 MB / 1.02 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005491/0.4149, allocations: 0.7368 MB / 1.021 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.415, allocations: 20 kB / 1.021 GB, free: 0.9688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/0.4178, allocations: 0.8909 MB / 1.022 GB, free: 60 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/0.4211, allocations: 0.7565 MB / 1.022 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/0.4368, allocations: 12.82 MB / 1.035 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003575/0.4404, allocations: 471 kB / 1.035 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005099/0.441, allocations: 116 kB / 1.035 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.441, allocations: 4 kB / 1.035 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01225/0.4532, allocations: 4.918 MB / 1.04 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.758e-05/0.4533, allocations: 20 kB / 1.04 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.4556, allocations: 0.759 MB / 1.041 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/0.4589, allocations: 0.7565 MB / 1.042 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4237/0.8826, allocations: 12.66 MB / 1.054 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.8857, allocations: 449.9 kB / 1.054 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004748/0.8862, allocations: 112.5 kB / 1.055 GB, free: 136.5 MB / 0.698 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 (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.002431/0.8887, allocations: 1.285 MB / 1.056 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/0.8893, allocations: 121.9 kB / 1.056 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.9011, allocations: 4.388 MB / 1.06 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.9011, allocations: 15.06 kB / 1.06 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.942e-05/0.9012, allocations: 8.469 kB / 1.06 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.9012, allocations: 8.484 kB / 1.06 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/0.921, allocations: 8.262 MB / 1.068 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.9211, allocations: 6.25 kB / 1.068 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/0.9236, allocations: 0.5175 MB / 1.069 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.9259, allocations: 0.7104 MB / 1.07 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/0.9261, allocations: 48.77 kB / 1.07 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/0.9372, allocations: 12.3 MB / 1.082 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.9373, allocations: 10.28 kB / 1.082 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009765/0.947, allocations: 4.227 MB / 1.086 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009945/0.9481, allocations: 469 kB / 1.086 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/0.9485, allocations: 32.31 kB / 1.086 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/0.9511, allocations: 394.2 kB / 1.087 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004236/0.9516, allocations: 131.6 kB / 1.087 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.9518, allocations: 60.81 kB / 1.087 GB, free: 123.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00117/0.9529, allocations: 0.7448 MB / 1.087 GB, free: 123.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9529, allocations: 0 / 1.087 GB, free: 123.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00567/0.9586, allocations: 1.118 MB / 1.089 GB, free: 123 MB / 0.698 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 (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.0004328/0.9591, allocations: 148.1 kB / 1.089 GB, free: 122.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01697/0.9761, allocations: 8.042 MB / 1.097 GB, free: 118.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.9761, allocations: 0 / 1.097 GB, free: 118.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005455/0.9816, allocations: 2.726 MB / 1.099 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.9839, allocations: 181.1 kB / 1.099 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/1.002, allocations: 8.912 MB / 1.108 GB, free: 107.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002412/1.005, allocations: 2.35 MB / 1.11 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008537/1.006, allocations: 159.3 kB / 1.111 GB, free: 104.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/1.006, allocations: 4 kB / 1.111 GB, free: 104.9 MB / 0.698 GB Notification: Performance of Templates: time 0.0988/1.105, allocations: 124 MB / 1.232 GB, free: 12.7 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)