Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Inverter.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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00139/0.001393, allocations: 186.5 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.753/1.753, allocations: 194.5 MB / 211.6 MB, free: 11.22 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.001659/0.001659, allocations: 116.7 kB / 256.9 MB, free: 14.42 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.3592/0.3592, allocations: 37.99 MB / 340.1 MB, free: 16.95 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 16 kB / 403.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2553, allocations: 53.2 MB / 457 MB, free: 26.88 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.007432/0.2628, allocations: 7.159 MB / 464.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.2665, allocations: 2.43 MB / 466.6 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004735/0.267, allocations: 57.66 kB / 466.7 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.2674, allocations: 159.7 kB / 466.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.2686, allocations: 0.52 MB / 467.3 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.2695, allocations: 382.8 kB / 467.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007817/0.2703, allocations: 0.7514 MB / 468.5 MB, free: 18.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.2716, allocations: 0.9017 MB / 469.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.2722, allocations: 454.4 kB / 469.8 MB, free: 17.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.2729, allocations: 475.6 kB / 470.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.273, allocations: 42.91 kB / 470.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007283/0.2738, allocations: 439.9 kB / 470.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.2742, allocations: 416.8 kB / 471.1 MB, free: 16.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.2744, allocations: 218.8 kB / 471.4 MB, free: 16.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009466/0.2754, allocations: 1.147 MB / 472.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.396e-06/0.2754, allocations: 0 / 472.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2754, allocations: 3.938 kB / 472.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.2754, allocations: 0 / 472.5 MB, free: 15.6 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002301/0.2778, allocations: 1.372 MB / 473.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2778, allocations: 16.02 kB / 473.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007748/0.2786, allocations: 166.6 kB / 474.1 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.2796, allocations: 0.6775 MB / 474.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.2798, allocations: 175 kB / 474.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.2801, allocations: 108 kB / 475 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.2827, allocations: 1.546 MB / 476.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.2827, allocations: 4 kB / 476.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.2828, allocations: 35.98 kB / 476.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.283, allocations: 69.97 kB / 476.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.2853, allocations: 1.183 MB / 477.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/0.2914, allocations: 4.801 MB / 482.7 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.2944, allocations: 1.2 MB / 483.9 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.2944, allocations: 12.61 kB / 483.9 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.2959, allocations: 0.73 MB / 484.6 MB, free: 3.094 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 4.121e-06/0.2959, allocations: 0 / 484.6 MB, free: 3.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.007309/0.3032, allocations: 3.375 MB / 488 MB, free: 15.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3033, allocations: 131.4 kB / 488.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/0.3043, allocations: 0.5771 MB / 488.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.847e-05/0.3044, allocations: 49.69 kB / 488.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.3048, allocations: 463 kB / 489.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.3051, allocations: 268.3 kB / 489.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.3052, allocations: 20 kB / 489.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.3054, allocations: 394.7 kB / 489.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008602/0.3063, allocations: 466 kB / 490.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.3075, allocations: 0.7148 MB / 491 MB, free: 12.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3087, allocations: 0.5976 MB / 491.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.3087, allocations: 4 kB / 491.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002976/0.3117, allocations: 1.533 MB / 493.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/0.3118, allocations: 65.67 kB / 493.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002477/0.3143, allocations: 1.283 MB / 494.5 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/0.3147, allocations: 101.6 kB / 494.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.3157, allocations: 207.6 kB / 494.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.3192, allocations: 2.997 MB / 497.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/0.32, allocations: 84.14 kB / 497.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.3202, allocations: 75.89 kB / 497.9 MB, free: 5.086 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.ac_dc.modulator.gates[1],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006695/0.3209, allocations: 389.3 kB / 498.3 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.3211, allocations: 75.06 kB / 498.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/0.3244, allocations: 1.302 MB / 499.7 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.3244, allocations: 12 kB / 499.7 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.3245, allocations: 3.938 kB / 499.7 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.3245, allocations: 11.94 kB / 499.7 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/0.3296, allocations: 2.456 MB / 0.4904 GB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.084e-06/0.3297, allocations: 3.984 kB / 0.4904 GB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008404/0.3305, allocations: 139.8 kB / 0.4906 GB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-05/0.3306, allocations: 28.84 kB / 0.4906 GB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-05/0.3307, allocations: 27.97 kB / 0.4906 GB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.332, allocations: 1.389 MB / 0.492 GB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.738e-06/0.3321, allocations: 4.281 kB / 0.492 GB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/0.3367, allocations: 2.027 MB / 0.4939 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/0.3371, allocations: 236.1 kB / 0.4942 GB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.3374, allocations: 83.94 kB / 0.4943 GB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008511/0.3382, allocations: 99.88 kB / 0.4943 GB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.3384, allocations: 56.58 kB / 0.4944 GB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.3385, allocations: 27.97 kB / 0.4944 GB, free: 12.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005465/0.3391, allocations: 402.8 kB / 0.4948 GB, free: 11.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.3391, allocations: 0 / 0.4948 GB, free: 11.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001055/0.3401, allocations: 240 kB / 0.495 GB, free: 11.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0003355/0.3405, allocations: 175.1 kB / 0.4952 GB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003148/0.3436, allocations: 1.639 MB / 0.4968 GB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.022e-06/0.3437, allocations: 0 / 0.4968 GB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.3453, allocations: 0.6748 MB / 0.4975 GB, free: 9.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.3461, allocations: 154.7 kB / 0.4976 GB, free: 9.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.351, allocations: 2.808 MB / 0.5004 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000994/0.352, allocations: 1.13 MB / 0.5015 GB, free: 5.051 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008747/0.3529, allocations: 238.5 kB / 0.5017 GB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.3531, allocations: 63.42 kB / 0.5017 GB, free: 4.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3531, allocations: 0 / 0.5017 GB, free: 4.75 MB / 346.7 MB Notification: Performance of Templates: time 0.0233/0.3764, allocations: 10.15 MB / 0.5117 GB, free: 10.62 MB / 362.7 MB