Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001329/0.001332, allocations: 186.1 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.754/1.754, allocations: 194.5 MB / 211.6 MB, free: 7.609 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.001747/0.001747, allocations: 116.7 kB / 256.9 MB, free: 10.23 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.23/0.23, allocations: 38.02 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004874, allocations: 13.98 kB / 403.8 MB, free: 55.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06785/0.06836, allocations: 53.23 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005449/0.07387, allocations: 5.552 MB / 462.6 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.07621, allocations: 1.607 MB / 464.2 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.07655, allocations: 35.75 kB / 464.2 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.07688, allocations: 119.2 kB / 464.3 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007205/0.07761, allocations: 334.9 kB / 464.7 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.07797, allocations: 167.7 kB / 464.8 MB, free: 2.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.07839, allocations: 391.1 kB / 465.2 MB, free: 2.137 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.07862, allocations: 145 kB / 465.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.07895, allocations: 239.1 kB / 465.6 MB, free: 1.758 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.07934, allocations: 259.1 kB / 465.8 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.07942, allocations: 20 kB / 465.9 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.0795, allocations: 20 kB / 465.9 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.07966, allocations: 159.6 kB / 466 MB, free: 1.309 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.974e-05/0.07977, allocations: 113.5 kB / 466.1 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.08015, allocations: 398.9 kB / 466.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.062e-06/0.08017, allocations: 0 / 466.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.808e-06/0.08018, allocations: 0 / 466.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.043e-06/0.0802, allocations: 0 / 466.5 MB, free: 0.8008 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001048/0.08126, allocations: 0.719 MB / 467.2 MB, free: 36 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.0813, allocations: 11.97 kB / 467.3 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.08144, allocations: 63.39 kB / 467.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.08231, allocations: 451.2 kB / 467.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.08237, allocations: 29 kB / 467.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/0.08247, allocations: 39.95 kB / 467.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/0.08342, allocations: 0.4922 MB / 468.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.08345, allocations: 3.938 kB / 468.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.08351, allocations: 23.98 kB / 468.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.08356, allocations: 17 kB / 468.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/0.0844, allocations: 363.7 kB / 468.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/0.08763, allocations: 2.083 MB / 470.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.08823, allocations: 233.9 kB / 471 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.08828, allocations: 8.25 kB / 471 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.08832, allocations: 38.75 kB / 471.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.629e-06/0.08833, allocations: 0 / 471.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.00187/0.09021, allocations: 0.9521 MB / 472 MB, free: 10.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.09029, allocations: 85.23 kB / 472.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.09081, allocations: 377.5 kB / 472.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.09085, allocations: 25.7 kB / 472.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.09111, allocations: 295.1 kB / 472.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/0.09121, allocations: 74.91 kB / 472.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.09124, allocations: 8 kB / 472.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.09144, allocations: 350.7 kB / 473.2 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.09165, allocations: 92.81 kB / 473.3 MB, free: 9.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.09201, allocations: 273.2 kB / 473.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.09234, allocations: 143.8 kB / 473.7 MB, free: 9.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.875e-06/0.09236, allocations: 0 / 473.7 MB, free: 9.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009647/0.09334, allocations: 469.6 kB / 474.2 MB, free: 8.621 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.09338, allocations: 12.19 kB / 474.2 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.0934, allocations: 4 kB / 474.2 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.09365, allocations: 56.83 kB / 474.2 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.09397, allocations: 87.83 kB / 474.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.09597, allocations: 1.617 MB / 475.9 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.0963, allocations: 23.94 kB / 476 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.09635, allocations: 20 kB / 476 MB, free: 6.672 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002997/0.09667, allocations: 213.4 kB / 476.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.09676, allocations: 39.53 kB / 476.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005769/0.09735, allocations: 334.9 kB / 476.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.574e-06/0.09737, allocations: 7.984 kB / 476.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.945e-06/0.09739, allocations: 3.953 kB / 476.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.628e-06/0.0974, allocations: 3.984 kB / 476.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.09866, allocations: 0.7862 MB / 477.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.573e-06/0.09868, allocations: 0 / 477.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.09894, allocations: 43.88 kB / 477.4 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.916e-05/0.09904, allocations: 24.84 kB / 477.4 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.09907, allocations: 4 kB / 477.4 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.1004, allocations: 1.373 MB / 478.8 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.422e-06/0.1005, allocations: 0 / 478.8 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.1013, allocations: 0.5567 MB / 479.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.1015, allocations: 120.7 kB / 479.5 MB, free: 2.844 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.1016, allocations: 8 kB / 479.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1018, allocations: 7.953 kB / 479.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.1018, allocations: 24.03 kB / 479.5 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1018, allocations: 4 kB / 479.5 MB, free: 2.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003404/0.1022, allocations: 255.2 kB / 479.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.999e-06/0.1022, allocations: 0 / 479.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005877/0.1028, allocations: 91.94 kB / 479.9 MB, free: 2.465 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.1029, allocations: 106.7 kB / 480 MB, free: 2.355 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.1037, allocations: 395.7 kB / 480.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.938e-06/0.1037, allocations: 4 kB / 480.4 MB, free: 1.953 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.1041, allocations: 210.5 kB / 480.6 MB, free: 1.734 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.1047, allocations: 89.59 kB / 480.7 MB, free: 1.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1064, allocations: 1.023 MB / 481.7 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.1071, allocations: 0.8701 MB / 482.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000357/0.1075, allocations: 88.12 kB / 482.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.1076, allocations: 35.44 kB / 482.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.381e-06/0.1076, allocations: 0 / 482.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of Templates: time 0.01058/0.1182, allocations: 3.441 MB / 486.1 MB, free: 12.14 MB / 330.7 MB