Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00276/0.00276, allocations: 361.4 kB / 17.21 MB, free: 4.953 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 3.787/3.787, allocations: 388.9 MB / 406.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003743/0.003743, allocations: 221.7 kB / 452.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7733/0.7733, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006887/0.0006887, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1287, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.6155, allocations: 106.1 MB / 0.7779 GB, free: 81.51 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.6158, allocations: 101.5 kB / 0.778 GB, free: 81.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09103/0.7069, allocations: 21.8 MB / 0.7992 GB, free: 72.76 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.7069, allocations: 0 / 0.7992 GB, free: 72.76 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.409e-05/0.707, allocations: 20.69 kB / 0.7993 GB, free: 72.76 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003462/0.7105, allocations: 1.017 MB / 0.8003 GB, free: 72.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.7105, allocations: 8.625 kB / 0.8003 GB, free: 72.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.7119, allocations: 130.1 kB / 0.8004 GB, free: 71.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.7146, allocations: 0.8078 MB / 0.8012 GB, free: 71.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.7147, allocations: 49.52 kB / 0.8012 GB, free: 71.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.7149, allocations: 63.72 kB / 0.8013 GB, free: 71.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.7172, allocations: 0.9989 MB / 0.8023 GB, free: 71.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/0.7173, allocations: 3.031 kB / 0.8023 GB, free: 71.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.7175, allocations: 30.41 kB / 0.8023 GB, free: 71.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/0.7177, allocations: 70.08 kB / 0.8024 GB, free: 71.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.72, allocations: 0.9394 MB / 0.8033 GB, free: 70.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007186/0.7272, allocations: 3.214 MB / 0.8064 GB, free: 69.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.7289, allocations: 0.6892 MB / 0.8071 GB, free: 69.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009721/0.7299, allocations: 450.5 kB / 0.8075 GB, free: 68.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.871e-05/0.73, allocations: 14.89 kB / 0.8075 GB, free: 68.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.73, allocations: 39.59 kB / 0.8076 GB, free: 68.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=77): time 3.917e-06/0.73, allocations: 0 / 0.8076 GB, free: 68.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=79): time 0.005947/0.736, allocations: 2.539 MB / 0.81 GB, free: 67.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.7361, allocations: 89.8 kB / 0.8101 GB, free: 67.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.7367, allocations: 429 kB / 0.8105 GB, free: 67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.81e-05/0.7368, allocations: 34.14 kB / 0.8106 GB, free: 66.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.7371, allocations: 345.8 kB / 0.8109 GB, free: 66.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.7373, allocations: 282 kB / 0.8112 GB, free: 66.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.7374, allocations: 14.06 kB / 0.8112 GB, free: 66.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7375, allocations: 375.8 kB / 0.8115 GB, free: 66.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007953/0.7383, allocations: 362.3 kB / 0.8119 GB, free: 65.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/0.7392, allocations: 0.5116 MB / 0.8124 GB, free: 65.42 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.01576/0.755, allocations: 2.718 MB / 0.815 GB, free: 62.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.755, allocations: 4 kB / 0.815 GB, free: 62.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002447/0.7574, allocations: 1.121 MB / 0.8161 GB, free: 62.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.7575, allocations: 8.625 kB / 0.8161 GB, free: 62.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.7575, allocations: 8 kB / 0.8162 GB, free: 62.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.7578, allocations: 42.95 kB / 0.8162 GB, free: 62.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.7593, allocations: 181.1 kB / 0.8164 GB, free: 61.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.7605, allocations: 1.396 MB / 0.8177 GB, free: 60.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.7615, allocations: 38.83 kB / 0.8178 GB, free: 60.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.7616, allocations: 31.25 kB / 0.8178 GB, free: 60.39 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (93): * Single equations (assignments): 89 * Array equations: 3 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005852/0.7622, allocations: 276.9 kB / 0.8181 GB, free: 60.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.7623, allocations: 59.25 kB / 0.8181 GB, free: 60.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.7646, allocations: 1.021 MB / 0.8191 GB, free: 59.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.746e-05/0.7647, allocations: 22.98 kB / 0.8191 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7647, allocations: 3.953 kB / 0.8191 GB, free: 59.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.7647, allocations: 7.984 kB / 0.8192 GB, free: 59.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/0.7697, allocations: 2.077 MB / 0.8212 GB, free: 57.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.7697, allocations: 4 kB / 0.8212 GB, free: 57.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.7711, allocations: 158.4 kB / 0.8213 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/0.7712, allocations: 32.28 kB / 0.8214 GB, free: 57.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/0.7713, allocations: 30.42 kB / 0.8214 GB, free: 57.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.7725, allocations: 1.39 MB / 0.8228 GB, free: 55.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.7725, allocations: 7.938 kB / 0.8228 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/0.7755, allocations: 1.612 MB / 0.8243 GB, free: 54.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.7758, allocations: 144.1 kB / 0.8245 GB, free: 54.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.776, allocations: 19.44 kB / 0.8245 GB, free: 54.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/0.7767, allocations: 43.31 kB / 0.8245 GB, free: 54.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.7768, allocations: 59.77 kB / 0.8246 GB, free: 54.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.7769, allocations: 27.8 kB / 0.8246 GB, free: 54.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000456/0.7774, allocations: 288.8 kB / 0.8249 GB, free: 54.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7774, allocations: 0 / 0.8249 GB, free: 54.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001207/0.7786, allocations: 207.2 kB / 0.8251 GB, free: 53.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * 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 (76): * Single equations (assignments): 71 * Array equations: 3 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003966/0.7791, allocations: 166.4 kB / 0.8252 GB, free: 53.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.7813, allocations: 0.9849 MB / 0.8262 GB, free: 53.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7813, allocations: 0 / 0.8262 GB, free: 53.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.7824, allocations: 0.5466 MB / 0.8267 GB, free: 52.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.7838, allocations: 137 kB / 0.8269 GB, free: 52.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.788, allocations: 2.402 MB / 0.8292 GB, free: 50.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.7887, allocations: 1.037 MB / 0.8302 GB, free: 49.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001081/0.7898, allocations: 201.7 kB / 0.8304 GB, free: 49.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.7902, allocations: 53 kB / 0.8305 GB, free: 48.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.011e-06/0.7902, allocations: 0 / 0.8305 GB, free: 48.96 MB / 442.7 MB Notification: Performance of Templates: time 0.02112/0.8113, allocations: 7.557 MB / 0.8379 GB, free: 41.53 MB / 442.7 MB