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.001318/0.001322, allocations: 186 kB / 16.38 MB, free: 5.594 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.741/1.741, allocations: 194.5 MB / 211.6 MB, free: 7.516 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.001881/0.001881, allocations: 124.5 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.232/0.232, allocations: 38.02 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004262, allocations: 11.06 kB / 403.8 MB, free: 55.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06686/0.06731, allocations: 53.23 MB / 457 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006454/0.0738, allocations: 6.599 MB / 463.6 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.07713, allocations: 2.199 MB / 465.8 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.07756, allocations: 51.62 kB / 465.9 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.07798, allocations: 174.8 kB / 466 MB, free: 1.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007581/0.07875, allocations: 390.8 kB / 466.4 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008634/0.07963, allocations: 339.3 kB / 466.8 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005972/0.08025, allocations: 0.5539 MB / 467.3 MB, free: 0 / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.08152, allocations: 0.6367 MB / 467.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.08206, allocations: 330.8 kB / 468.3 MB, free: 15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/0.08274, allocations: 418.7 kB / 468.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.08286, allocations: 40 kB / 468.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.08333, allocations: 179.8 kB / 468.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004004/0.08375, allocations: 307.2 kB / 469.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.08396, allocations: 161.3 kB / 469.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009835/0.08498, allocations: 0.756 MB / 470.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.326e-06/0.085, allocations: 0 / 470.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.875e-06/0.08502, allocations: 4 kB / 470.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.08504, allocations: 3.938 kB / 470.1 MB, free: 13.14 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00217/0.08722, allocations: 0.996 MB / 471.1 MB, free: 12.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.08726, allocations: 8.031 kB / 471.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008824/0.08816, allocations: 130.9 kB / 471.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.08939, allocations: 0.5601 MB / 471.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/0.08947, allocations: 53.25 kB / 471.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.08968, allocations: 68 kB / 471.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.09161, allocations: 0.998 MB / 472.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.09165, allocations: 3.938 kB / 472.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.09175, allocations: 23.98 kB / 472.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002639/0.09203, allocations: 85.94 kB / 473 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.09413, allocations: 0.9641 MB / 474 MB, free: 9.125 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00637/0.1005, allocations: 3.276 MB / 477.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.102, allocations: 0.6909 MB / 478 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.612e-05/0.1021, allocations: 17.55 kB / 478 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.1022, allocations: 39.12 kB / 478 MB, free: 4.953 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 4.171e-06/0.1022, allocations: 0 / 478 MB, free: 4.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.00515/0.1074, allocations: 2.557 MB / 480.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.1075, allocations: 89.62 kB / 480.7 MB, free: 2.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/0.1081, allocations: 437.8 kB / 481.1 MB, free: 1.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.1082, allocations: 37.7 kB / 481.1 MB, free: 1.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.1086, allocations: 363.7 kB / 481.5 MB, free: 1.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.1089, allocations: 260.2 kB / 481.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.1089, allocations: 19.98 kB / 481.8 MB, free: 1.039 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.1092, allocations: 370.8 kB / 482.1 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006896/0.1099, allocations: 341.7 kB / 482.5 MB, free: 344 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.1107, allocations: 0.513 MB / 483 MB, free: 15.76 MB / 330.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.005055/0.1158, allocations: 1.387 MB / 484.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.542e-06/0.1158, allocations: 4 kB / 484.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002202/0.118, allocations: 1.079 MB / 485.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1181, allocations: 11.75 kB / 485.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.1181, allocations: 8 kB / 485.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.1183, allocations: 32.8 kB / 485.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009794/0.1193, allocations: 203.7 kB / 485.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.1217, allocations: 1.338 MB / 487 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.1232, allocations: 39.97 kB / 487.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/0.1235, allocations: 31.98 kB / 487.1 MB, free: 11.45 MB / 330.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: 24 * 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 (96): * Single equations (assignments): 93 * Array equations: 2 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001289/0.1248, allocations: 289.5 kB / 487.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/0.1253, allocations: 59.25 kB / 487.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/0.1291, allocations: 0.9621 MB / 488.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.996e-05/0.1292, allocations: 12 kB / 488.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.151e-06/0.1292, allocations: 4 kB / 488.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.1292, allocations: 3.984 kB / 488.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004947/0.1342, allocations: 1.989 MB / 490.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.1342, allocations: 4 kB / 490.4 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.1353, allocations: 163.8 kB / 490.6 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.1354, allocations: 29.42 kB / 490.6 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/0.1355, allocations: 23.98 kB / 490.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.1371, allocations: 1.342 MB / 492 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.1371, allocations: 8 kB / 492 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.1403, allocations: 1.728 MB / 493.7 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.1405, allocations: 140.4 kB / 493.8 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.1407, allocations: 20.12 kB / 493.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.1412, allocations: 35.97 kB / 493.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1413, allocations: 64.38 kB / 494 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/0.1414, allocations: 24 kB / 494 MB, free: 4.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004601/0.1419, allocations: 295.1 kB / 494.3 MB, free: 3.734 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.1419, allocations: 4 kB / 494.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000883/0.1428, allocations: 180 kB / 494.4 MB, free: 3.555 MB / 330.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): 72 * Array equations: 2 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002787/0.1431, allocations: 151 kB / 494.6 MB, free: 3.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.145, allocations: 0.9389 MB / 495.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.145, allocations: 4 kB / 495.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.1459, allocations: 0.5144 MB / 496.1 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.1467, allocations: 125.9 kB / 496.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.1507, allocations: 2.365 MB / 498.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008807/0.1516, allocations: 1.029 MB / 499.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008179/0.1524, allocations: 205.3 kB / 499.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.1527, allocations: 59.42 kB / 499.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of SimCode: time 1.331e-06/0.1527, allocations: 4 kB / 499.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of Templates: time 0.01761/0.1703, allocations: 7.23 MB / 0.4952 GB, free: 6.812 MB / 346.7 MB