Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002791/0.002798, allocations: 185.9 kB / 16.38 MB, free: 5.617 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.671/1.671, allocations: 194.5 MB / 211.6 MB, free: 8.582 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.001754/0.001754, allocations: 128.6 kB / 256.9 MB, free: 11.19 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.2148/0.2148, allocations: 38.01 MB / 340.1 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004447, allocations: 12.69 kB / 403.8 MB, free: 55.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06737/0.06784, allocations: 53.23 MB / 457 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00593/0.07381, allocations: 6.27 MB / 463.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.07626, allocations: 1.755 MB / 465 MB, free: 2.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.07669, allocations: 39.69 kB / 465.1 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.07711, allocations: 151 kB / 465.2 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006495/0.07778, allocations: 354.9 kB / 465.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.07827, allocations: 219.6 kB / 465.8 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000648/0.07893, allocations: 0.573 MB / 466.4 MB, free: 1.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.0793, allocations: 247.5 kB / 466.6 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.07968, allocations: 330.9 kB / 466.9 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004445/0.08013, allocations: 370.8 kB / 467.3 MB, free: 220 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.08023, allocations: 32 kB / 467.3 MB, free: 188 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.08034, allocations: 32 kB / 467.4 MB, free: 156 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.08065, allocations: 247.4 kB / 467.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.08088, allocations: 153.3 kB / 467.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007321/0.08162, allocations: 0.6623 MB / 468.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.095e-06/0.08164, allocations: 0 / 468.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.08165, allocations: 0 / 468.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.08167, allocations: 0 / 468.4 MB, free: 15.09 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001942/0.08362, allocations: 0.9295 MB / 469.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.08367, allocations: 12.02 kB / 469.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.08385, allocations: 75.16 kB / 469.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.08502, allocations: 0.533 MB / 470 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.08523, allocations: 124.6 kB / 470.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.08537, allocations: 56 kB / 470.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.08695, allocations: 0.7967 MB / 470.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.08698, allocations: 7.938 kB / 470.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.08706, allocations: 20 kB / 471 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.08719, allocations: 36.97 kB / 471 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.08896, allocations: 0.7181 MB / 471.7 MB, free: 11.64 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.005033/0.09401, allocations: 2.759 MB / 474.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.09626, allocations: 0.9167 MB / 475.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.09631, allocations: 8.016 kB / 475.4 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.09638, allocations: 34.56 kB / 475.4 MB, free: 7.758 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.941e-06/0.09639, allocations: 0 / 475.4 MB, free: 7.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.004613/0.101, allocations: 2.027 MB / 477.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.1011, allocations: 84.86 kB / 477.5 MB, free: 5.512 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.1017, allocations: 421.8 kB / 477.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.1017, allocations: 33.64 kB / 478 MB, free: 5.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.102, allocations: 320.3 kB / 478.3 MB, free: 4.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.1021, allocations: 142 kB / 478.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.1022, allocations: 4 kB / 478.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1024, allocations: 362.8 kB / 478.8 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/0.103, allocations: 256.9 kB / 479 MB, free: 3.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.1037, allocations: 366.3 kB / 479.4 MB, free: 3.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.1043, allocations: 283.6 kB / 479.7 MB, free: 3.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-06/0.1043, allocations: 0 / 479.7 MB, free: 3.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001787/0.1061, allocations: 0.8192 MB / 480.5 MB, free: 2.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1062, allocations: 4 kB / 480.5 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1062, allocations: 4 kB / 480.5 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.1065, allocations: 73.67 kB / 480.6 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.1081, allocations: 375.7 kB / 480.9 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.1157, allocations: 6.233 MB / 487.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.1161, allocations: 43.88 kB / 487.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.1162, allocations: 16 kB / 487.2 MB, free: 11.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004045/0.1166, allocations: 245.8 kB / 487.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1167, allocations: 47.44 kB / 487.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.1184, allocations: 0.7534 MB / 488.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.1184, allocations: 4 kB / 488.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.883e-06/0.1184, allocations: 4 kB / 488.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.511e-06/0.1184, allocations: 3.953 kB / 488.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.1217, allocations: 1.537 MB / 489.8 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.281e-06/0.1217, allocations: 0 / 489.8 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.1235, allocations: 411.6 kB / 490.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003417/0.1238, allocations: 85.62 kB / 490.3 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.1239, allocations: 8 kB / 490.3 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.1268, allocations: 2.903 MB / 493.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.464e-06/0.1269, allocations: 7.938 kB / 493.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.1292, allocations: 1.193 MB / 494.4 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.1294, allocations: 124.6 kB / 494.5 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/0.1295, allocations: 8 kB / 494.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.1299, allocations: 39.95 kB / 494.6 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.13, allocations: 47.84 kB / 494.6 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.13, allocations: 11.98 kB / 494.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003772/0.1304, allocations: 291.1 kB / 494.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.6e-07/0.1304, allocations: 4 kB / 494.9 MB, free: 2.984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007159/0.1312, allocations: 136 kB / 495.1 MB, free: 2.852 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (39): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.1313, allocations: 106.7 kB / 495.2 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00301/0.1344, allocations: 1.114 MB / 496.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.983e-06/0.1344, allocations: 0 / 496.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.1367, allocations: 0.8222 MB / 497.1 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.1374, allocations: 133.8 kB / 497.2 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.1403, allocations: 1.725 MB / 499 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007979/0.1411, allocations: 0.9601 MB / 499.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.1415, allocations: 96.55 kB / 0.4883 GB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.1417, allocations: 39.44 kB / 0.4883 GB, free: 13.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.189e-06/0.1417, allocations: 0 / 0.4883 GB, free: 13.74 MB / 346.7 MB Notification: Performance of Templates: time 0.01621/0.1579, allocations: 6.988 MB / 0.4952 GB, free: 6.77 MB / 346.7 MB