Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001413/0.001412, allocations: 185.4 kB / 16.38 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.73/1.73, allocations: 194.5 MB / 211.6 MB, free: 7.52 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001865/0.001865, allocations: 120.6 kB / 256.9 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2283/0.2283, allocations: 38.02 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004417, allocations: 16.06 kB / 403.8 MB, free: 55.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06946/0.06994, allocations: 53.22 MB / 457 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006067/0.07605, allocations: 6.444 MB / 463.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.07983, allocations: 2.651 MB / 466.1 MB, free: 1.215 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.08025, allocations: 43.69 kB / 466.2 MB, free: 1.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.08071, allocations: 182.9 kB / 466.3 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.08185, allocations: 0.518 MB / 466.9 MB, free: 484 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.08277, allocations: 407.1 kB / 467.2 MB, free: 76 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008895/0.08367, allocations: 0.6328 MB / 467.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.08504, allocations: 0.7082 MB / 468.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.08569, allocations: 390.6 kB / 469 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/0.0866, allocations: 0.5181 MB / 469.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.08673, allocations: 40 kB / 469.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.08717, allocations: 163.7 kB / 469.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005784/0.08777, allocations: 462.9 kB / 470.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.08806, allocations: 205.2 kB / 470.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.0893, allocations: 0.9704 MB / 471.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.423e-06/0.08932, allocations: 0 / 471.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.08934, allocations: 0 / 471.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.08936, allocations: 0 / 471.3 MB, free: 11.97 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002229/0.09159, allocations: 1.155 MB / 472.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.09164, allocations: 12.02 kB / 472.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.0929, allocations: 214.4 kB / 472.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.0943, allocations: 0.6502 MB / 473.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/0.09439, allocations: 61.98 kB / 473.4 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.09466, allocations: 107.8 kB / 473.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.09714, allocations: 1.372 MB / 474.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.0972, allocations: 0 / 474.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.09733, allocations: 39.98 kB / 474.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003093/0.09765, allocations: 117.9 kB / 475 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.09992, allocations: 1.077 MB / 476.1 MB, free: 6.965 MB / 314.7 MB 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.008438/0.1084, allocations: 5.942 MB / 482 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.1099, allocations: 0.7208 MB / 482.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.11, allocations: 12.56 kB / 482.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008389/0.1108, allocations: 472.7 kB / 483.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 3.274e-06/0.1109, allocations: 3.938 kB / 483.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.004349/0.1152, allocations: 2.216 MB / 485.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.1154, allocations: 170.9 kB / 485.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009407/0.1163, allocations: 0.6327 MB / 486.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.1164, allocations: 37.7 kB / 486.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/0.1169, allocations: 0.525 MB / 486.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.1172, allocations: 232.8 kB / 487.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.1173, allocations: 20 kB / 487.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.1175, allocations: 386.7 kB / 487.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006773/0.1182, allocations: 334.4 kB / 487.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.1193, allocations: 0.7581 MB / 488.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/0.1202, allocations: 0.4917 MB / 489 MB, free: 9.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.411e-06/0.1202, allocations: 4 kB / 489 MB, free: 9.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003152/0.1234, allocations: 1.439 MB / 490.5 MB, free: 7.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/0.1234, allocations: 37.7 kB / 490.5 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0019/0.1253, allocations: 0.7702 MB / 491.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008993/0.1263, allocations: 269.5 kB / 491.5 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/0.1272, allocations: 219.6 kB / 491.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.133, allocations: 4.118 MB / 495.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.1337, allocations: 64.03 kB / 495.9 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.1339, allocations: 63.97 kB / 496 MB, free: 2.012 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006795/0.1346, allocations: 402.7 kB / 496.4 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.1347, allocations: 75.06 kB / 496.5 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.1364, allocations: 0.8438 MB / 497.3 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.1365, allocations: 8 kB / 497.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1365, allocations: 0 / 497.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.1365, allocations: 3.984 kB / 497.3 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.14, allocations: 1.76 MB / 499.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.365e-06/0.14, allocations: 0 / 499.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009347/0.1409, allocations: 163.8 kB / 499.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-06/0.141, allocations: 4 kB / 499.2 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/0.141, allocations: 27.98 kB / 499.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.511e-06/0.1411, allocations: 8.156 kB / 499.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1411, allocations: 0 / 499.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.1434, allocations: 1.366 MB / 0.4889 GB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.1438, allocations: 204.2 kB / 0.4891 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.1439, allocations: 19.98 kB / 0.4891 GB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.1444, allocations: 35.97 kB / 0.4892 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1445, allocations: 44.41 kB / 0.4892 GB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/0.1446, allocations: 47.89 kB / 0.4892 GB, free: 12.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006631/0.1453, allocations: 419 kB / 0.4896 GB, free: 12.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.1453, allocations: 0 / 0.4896 GB, free: 12.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001076/0.1464, allocations: 228 kB / 0.4899 GB, free: 12.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002071/0.1466, allocations: 131.1 kB / 0.49 GB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.1489, allocations: 1.206 MB / 0.4912 GB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1489, allocations: 0 / 0.4912 GB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008128/0.1497, allocations: 462.8 kB / 0.4916 GB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.1504, allocations: 126.6 kB / 0.4917 GB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.1545, allocations: 2.359 MB / 0.494 GB, free: 7.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.1556, allocations: 1.139 MB / 0.4951 GB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009895/0.1566, allocations: 286.4 kB / 0.4954 GB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.1568, allocations: 59.42 kB / 0.4955 GB, free: 6.312 MB / 346.7 MB Notification: Performance of SimCode: time 1.369e-06/0.1569, allocations: 0 / 0.4955 GB, free: 6.312 MB / 346.7 MB Notification: Performance of Templates: time 0.02041/0.1773, allocations: 7.775 MB / 0.5031 GB, free: 14.55 MB / 362.7 MB