Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001385/0.001388, allocations: 184 kB / 16.38 MB, free: 5.598 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.775/1.775, 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.001977/0.001977, allocations: 112.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.2394/0.2394, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004572, allocations: 16.69 kB / 403.8 MB, free: 55.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07062/0.0711, allocations: 53.23 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003736/0.07488, allocations: 3.852 MB / 460.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.07634, allocations: 1.054 MB / 461.9 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.07656, allocations: 23.81 kB / 462 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.07672, allocations: 47.66 kB / 462 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.07719, allocations: 187.4 kB / 462.2 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.07745, allocations: 95.88 kB / 462.3 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.07772, allocations: 211.5 kB / 462.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.07788, allocations: 68.72 kB / 462.5 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.07809, allocations: 135.5 kB / 462.7 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.07832, allocations: 119.5 kB / 462.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.07836, allocations: 12 kB / 462.8 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-05/0.07841, allocations: 8 kB / 462.8 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.07849, allocations: 63.81 kB / 462.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.07856, allocations: 73.58 kB / 463 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.07877, allocations: 183.5 kB / 463.1 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.276e-06/0.07878, allocations: 0 / 463.1 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.722e-06/0.0788, allocations: 0 / 463.1 MB, free: 4.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.07881, allocations: 0 / 463.1 MB, free: 4.211 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006704/0.07949, allocations: 0.5231 MB / 463.7 MB, free: 3.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.07956, allocations: 16.02 kB / 463.7 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.07964, allocations: 27.62 kB / 463.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.08006, allocations: 298.6 kB / 464 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.08009, allocations: 16.44 kB / 464 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.08015, allocations: 20 kB / 464 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.08055, allocations: 265.8 kB / 464.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.08058, allocations: 7.953 kB / 464.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.08061, allocations: 8 kB / 464.3 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.249e-06/0.08063, allocations: 12 kB / 464.3 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.08092, allocations: 159.7 kB / 464.5 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.08204, allocations: 1.168 MB / 465.6 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.08221, allocations: 77.11 kB / 465.7 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.08224, allocations: 3.984 kB / 465.7 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.08227, allocations: 42.62 kB / 465.8 MB, free: 1.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.147e-06/0.08228, allocations: 0 / 465.8 MB, free: 1.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006395/0.08293, allocations: 425 kB / 466.2 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.08298, allocations: 81.11 kB / 466.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.08319, allocations: 238.6 kB / 466.5 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.08322, allocations: 29.7 kB / 466.5 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.08331, allocations: 191.8 kB / 466.7 MB, free: 328 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.08335, allocations: 27.64 kB / 466.7 MB, free: 300 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-06/0.08336, allocations: 4 kB / 466.7 MB, free: 296 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.08347, allocations: 330.8 kB / 467.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.08358, allocations: 28.36 kB / 467.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.08374, allocations: 119.7 kB / 467.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.08388, allocations: 51.92 kB / 467.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-06/0.08389, allocations: 0 / 467.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003554/0.08426, allocations: 185.3 kB / 467.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.08429, allocations: 11.75 kB / 467.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.112e-06/0.08431, allocations: 4 kB / 467.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.08433, allocations: 7.953 kB / 467.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.08452, allocations: 47.98 kB / 467.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.08455, allocations: 7.938 kB / 467.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.08469, allocations: 8 kB / 467.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.08472, allocations: 8 kB / 467.5 MB, free: 15.45 MB / 314.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 (22): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.0849, allocations: 150 kB / 467.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.08497, allocations: 19.72 kB / 467.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.08517, allocations: 99.25 kB / 467.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.832e-06/0.08519, allocations: 4 kB / 467.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.08521, allocations: 3.953 kB / 467.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.221e-06/0.08522, allocations: 0 / 467.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.0858, allocations: 419.3 kB / 468.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-06/0.08582, allocations: 0 / 468.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.08594, allocations: 20.02 kB / 468.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.67e-06/0.08596, allocations: 0 / 468.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.08598, allocations: 7.953 kB / 468.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.609e-06/0.086, allocations: 0 / 468.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.677e-06/0.08601, allocations: 0 / 468.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.08637, allocations: 264.2 kB / 468.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.08647, allocations: 96.88 kB / 468.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.08654, allocations: 8 kB / 468.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.08666, allocations: 0 / 468.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.0867, allocations: 4 kB / 468.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.08672, allocations: 4 kB / 468.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.08695, allocations: 170 kB / 468.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.98e-07/0.08697, allocations: 0 / 468.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.08738, allocations: 44.06 kB / 468.8 MB, free: 14.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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 0.0001038/0.08749, allocations: 99.25 kB / 468.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.08773, allocations: 83.78 kB / 469 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.488e-06/0.08775, allocations: 0 / 469 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.08782, allocations: 24.81 kB / 469 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.08825, allocations: 60.55 kB / 469.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.08934, allocations: 0.6287 MB / 469.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.08981, allocations: 0.7599 MB / 470.5 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.08996, allocations: 30.27 kB / 470.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.09001, allocations: 19.44 kB / 470.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of SimCode: time 1.289e-06/0.09003, allocations: 0 / 470.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of Templates: time 0.005802/0.09584, allocations: 1.613 MB / 472.1 MB, free: 10.66 MB / 314.7 MB