Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00382/0.003826, allocations: 364.2 kB / 17.21 MB, free: 4.953 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 3.75/3.75, allocations: 388.9 MB / 406.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003563/0.003562, allocations: 237.6 kB / 452.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7235/0.7235, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.000433, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 53.24 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4635/0.5964, allocations: 104.9 MB / 0.7766 GB, free: 81.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.5967, allocations: 97.45 kB / 0.7767 GB, free: 81.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1997/0.7965, allocations: 48.79 MB / 0.8244 GB, free: 54.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.7966, allocations: 0 / 0.8244 GB, free: 54.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001013/0.7967, allocations: 43.92 kB / 0.8244 GB, free: 54.39 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.005954/0.8026, allocations: 1.736 MB / 0.8261 GB, free: 52.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.8027, allocations: 12.03 kB / 0.8261 GB, free: 52.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004798/0.8075, allocations: 449.2 kB / 0.8266 GB, free: 52.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005161/0.8127, allocations: 1.592 MB / 0.8281 GB, free: 50.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.8129, allocations: 108.5 kB / 0.8282 GB, free: 50.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004157/0.8133, allocations: 142.5 kB / 0.8284 GB, free: 50.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/0.8185, allocations: 2.256 MB / 0.8306 GB, free: 48.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-05/0.8186, allocations: 15.84 kB / 0.8306 GB, free: 48.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.8188, allocations: 61.09 kB / 0.8306 GB, free: 48.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004934/0.8193, allocations: 195.2 kB / 0.8308 GB, free: 48.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004818/0.8241, allocations: 1.74 MB / 0.8325 GB, free: 47.43 MB / 442.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.01613/0.8403, allocations: 9.295 MB / 0.8416 GB, free: 38.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.8437, allocations: 1.47 MB / 0.843 GB, free: 36.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.8453, allocations: 0.6768 MB / 0.8437 GB, free: 36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.8454, allocations: 17 kB / 0.8437 GB, free: 35.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/0.8472, allocations: 0.9387 MB / 0.8446 GB, free: 35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=142): time 4.889e-06/0.8472, allocations: 0 / 0.8446 GB, free: 35 MB / 442.7 MB Notification: Performance of matching and sorting (n=143): time 0.009674/0.8569, allocations: 4.343 MB / 0.8489 GB, free: 30.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.8571, allocations: 290.3 kB / 0.8491 GB, free: 30.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.8586, allocations: 0.8622 MB / 0.85 GB, free: 29.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002856/0.8589, allocations: 57.95 kB / 0.85 GB, free: 29.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.8595, allocations: 0.7321 MB / 0.8508 GB, free: 28.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/0.8601, allocations: 493.1 kB / 0.8512 GB, free: 28.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.8603, allocations: 39.98 kB / 0.8513 GB, free: 27.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.8605, allocations: 430.7 kB / 0.8517 GB, free: 27.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.8619, allocations: 0.6246 MB / 0.8523 GB, free: 26.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.8637, allocations: 1.166 MB / 0.8534 GB, free: 25.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/0.8656, allocations: 0.884 MB / 0.8543 GB, free: 24.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.8657, allocations: 4 kB / 0.8543 GB, free: 24.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.006822/0.8725, allocations: 2.536 MB / 0.8568 GB, free: 22.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.8726, allocations: 79.34 kB / 0.8568 GB, free: 21.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004819/0.8774, allocations: 1.687 MB / 0.8585 GB, free: 20.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/0.8801, allocations: 0.5457 MB / 0.859 GB, free: 19.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.8823, allocations: 323.6 kB / 0.8593 GB, free: 19.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.8949, allocations: 8.709 MB / 0.8678 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.8969, allocations: 95.8 kB / 0.8679 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.8972, allocations: 108 kB / 0.868 GB, free: 9.973 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001317/0.8985, allocations: 0.5842 MB / 0.8686 GB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.8988, allocations: 122.5 kB / 0.8687 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/0.9027, allocations: 1.703 MB / 0.8704 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/0.9028, allocations: 23.98 kB / 0.8704 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9028, allocations: 0 / 0.8704 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.9028, allocations: 3.984 kB / 0.8704 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007148/0.91, allocations: 3.22 MB / 0.8736 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.9101, allocations: 4 kB / 0.8736 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/0.9128, allocations: 311.8 kB / 0.8739 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/0.9128, allocations: 8 kB / 0.8739 GB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/0.913, allocations: 39.97 kB / 0.8739 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.913, allocations: 4 kB / 0.8739 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.9131, allocations: 8 kB / 0.8739 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005084/0.9182, allocations: 2.562 MB / 0.8764 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008447/0.9191, allocations: 307.5 kB / 0.8767 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.9193, allocations: 35.98 kB / 0.8767 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.9205, allocations: 59.94 kB / 0.8768 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.9207, allocations: 80.83 kB / 0.8769 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/0.9209, allocations: 87.91 kB / 0.877 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.922, allocations: 0.5742 MB / 0.8775 GB, free: 36 kB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.922, allocations: 0 / 0.8775 GB, free: 36 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.002438/0.9244, allocations: 468 kB / 0.878 GB, free: 15.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 2 * 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.0006048/0.9251, allocations: 232.4 kB / 0.8782 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006126/0.9312, allocations: 2.421 MB / 0.8805 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/0.9313, allocations: 12.06 kB / 0.8806 GB, free: 12.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.9336, allocations: 0.9495 MB / 0.8815 GB, free: 11.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.9357, allocations: 207.7 kB / 0.8817 GB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.9461, allocations: 4.129 MB / 0.8857 GB, free: 7.492 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/0.948, allocations: 1.492 MB / 0.8872 GB, free: 5.969 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00241/0.9505, allocations: 470.1 kB / 0.8876 GB, free: 5.504 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/0.951, allocations: 91.42 kB / 0.8877 GB, free: 5.414 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/0.951, allocations: 0 / 0.8877 GB, free: 5.414 MB / 458.7 MB Notification: Performance of Templates: time 0.04828/0.9993, allocations: 15.46 MB / 0.9028 GB, free: 6.066 MB / 474.7 MB