Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001403/0.001407, allocations: 183.9 kB / 16.39 MB, free: 5.723 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.733/1.733, allocations: 194.5 MB / 211.6 MB, free: 2.977 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.001851/0.001851, allocations: 112.6 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2533/0.2533, allocations: 38.01 MB / 340.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004844, allocations: 12 kB / 403.8 MB, free: 68.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06677/0.06728, allocations: 53.24 MB / 457 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004077/0.0714, allocations: 3.83 MB / 460.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.07285, allocations: 0.9831 MB / 461.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.07306, allocations: 23.81 kB / 461.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.07321, allocations: 47.61 kB / 461.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.07363, allocations: 159.5 kB / 462.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.07388, allocations: 91.77 kB / 462.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.07417, allocations: 219.6 kB / 462.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.07435, allocations: 81.11 kB / 462.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.07457, allocations: 131.5 kB / 462.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.07482, allocations: 139.4 kB / 462.7 MB, free: 9.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.07487, allocations: 8 kB / 462.7 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.741e-05/0.07493, allocations: 12 kB / 462.7 MB, free: 9.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.07501, allocations: 67.8 kB / 462.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.1e-05/0.07511, allocations: 81.52 kB / 462.9 MB, free: 9.594 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.07532, allocations: 203.4 kB / 463.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.412e-06/0.07534, allocations: 0 / 463.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.149e-06/0.07536, allocations: 0 / 463.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.641e-06/0.07537, allocations: 3.938 kB / 463.1 MB, free: 9.391 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008917/0.07627, allocations: 0.5465 MB / 463.6 MB, free: 8.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.07632, allocations: 12.02 kB / 463.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.758e-05/0.0764, allocations: 35.53 kB / 463.7 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.07691, allocations: 317.8 kB / 464 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.07695, allocations: 20.44 kB / 464 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.0771, allocations: 35.94 kB / 464 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.07756, allocations: 294 kB / 464.3 MB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.07759, allocations: 3.984 kB / 464.3 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.07763, allocations: 8 kB / 464.3 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.589e-06/0.07764, allocations: 8 kB / 464.4 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.07801, allocations: 191.5 kB / 464.5 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.07956, allocations: 1.268 MB / 465.8 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.07988, allocations: 135.8 kB / 465.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.07991, allocations: 0 / 465.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.07994, allocations: 30.56 kB / 466 MB, free: 6.258 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.05e-06/0.07995, allocations: 4 kB / 466 MB, free: 6.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009511/0.08091, allocations: 0.5348 MB / 466.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.08097, allocations: 102.8 kB / 466.6 MB, free: 5.539 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.0812, allocations: 234.7 kB / 466.8 MB, free: 5.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.08123, allocations: 33.7 kB / 466.9 MB, free: 5.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.08134, allocations: 199.9 kB / 467.1 MB, free: 5.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.08139, allocations: 51.47 kB / 467.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.08141, allocations: 4 kB / 467.1 MB, free: 5.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.08148, allocations: 334.8 kB / 467.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.08159, allocations: 39.98 kB / 467.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.08173, allocations: 131.9 kB / 467.6 MB, free: 4.457 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.08186, allocations: 52 kB / 467.7 MB, free: 4.406 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-06/0.08188, allocations: 4 kB / 467.7 MB, free: 4.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004654/0.08235, allocations: 234.2 kB / 467.9 MB, free: 4.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.08238, allocations: 8.062 kB / 467.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.074e-06/0.0824, allocations: 4 kB / 467.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.08255, allocations: 28.84 kB / 467.9 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.08297, allocations: 63.88 kB / 468 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.08299, allocations: 11.88 kB / 468 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.08317, allocations: 8 kB / 468 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.08321, allocations: 8 kB / 468 MB, free: 4.031 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.08338, allocations: 157.7 kB / 468.2 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.0835, allocations: 27.7 kB / 468.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.08381, allocations: 147.3 kB / 468.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.367e-06/0.08383, allocations: 4 kB / 468.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.08385, allocations: 0 / 468.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.022e-06/0.08386, allocations: 7.984 kB / 468.4 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.08426, allocations: 281.5 kB / 468.6 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-06/0.08428, allocations: 3.953 kB / 468.6 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.08449, allocations: 35.92 kB / 468.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.261e-06/0.08451, allocations: 4 kB / 468.7 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.08454, allocations: 7.984 kB / 468.7 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.952e-06/0.08455, allocations: 4 kB / 468.7 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.768e-06/0.08456, allocations: 0 / 468.7 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.08499, allocations: 402.5 kB / 469.1 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.08506, allocations: 96.86 kB / 469.2 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.08511, allocations: 11.98 kB / 469.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.08532, allocations: 0 / 469.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.08537, allocations: 11.98 kB / 469.2 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.0854, allocations: 4 kB / 469.2 MB, free: 2.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.08555, allocations: 170 kB / 469.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.63e-07/0.08557, allocations: 0 / 469.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004605/0.08604, allocations: 48.06 kB / 469.4 MB, free: 2.523 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (15): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.06e-05/0.08614, allocations: 103.2 kB / 469.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.0865, allocations: 213.7 kB / 469.7 MB, free: 2.184 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.827e-06/0.08652, allocations: 0 / 469.7 MB, free: 2.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.08663, allocations: 52.73 kB / 469.8 MB, free: 2.133 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.0871, allocations: 55.81 kB / 469.8 MB, free: 2.078 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.08817, allocations: 0.7567 MB / 470.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.08841, allocations: 0.7834 MB / 471.4 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.08858, allocations: 30.28 kB / 471.4 MB, free: 456 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.08865, allocations: 19.44 kB / 471.4 MB, free: 436 kB / 314.7 MB Notification: Performance of SimCode: time 1.375e-06/0.08867, allocations: 0 / 471.4 MB, free: 436 kB / 314.7 MB Notification: Performance of Templates: time 0.007005/0.09568, allocations: 2.063 MB / 473.5 MB, free: 14.38 MB / 330.7 MB