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.002668/0.002672, allocations: 361.4 kB / 17.21 MB, free: 4.926 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.785/3.785, allocations: 388.9 MB / 406.8 MB, free: 12 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.005047/0.005047, allocations: 223.8 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.7788/0.7788, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004587, allocations: 19.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09165, allocations: 53.22 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008326/0.1, allocations: 6.888 MB / 0.6809 GB, free: 53.92 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.105, allocations: 2.179 MB / 0.6831 GB, free: 51.73 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006691/0.1057, allocations: 51.62 kB / 0.6831 GB, free: 51.68 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.1062, allocations: 154.9 kB / 0.6833 GB, free: 51.53 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.1075, allocations: 469.4 kB / 0.6837 GB, free: 51.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1088, allocations: 347.2 kB / 0.684 GB, free: 50.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.1101, allocations: 1.204 MB / 0.6852 GB, free: 49.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.1112, allocations: 0.6483 MB / 0.6859 GB, free: 48.83 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.1118, allocations: 370.3 kB / 0.6862 GB, free: 48.47 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009305/0.1128, allocations: 0.5531 MB / 0.6868 GB, free: 47.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.1129, allocations: 36 kB / 0.6868 GB, free: 47.88 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.1135, allocations: 203.5 kB / 0.687 GB, free: 47.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.1138, allocations: 335.1 kB / 0.6873 GB, free: 47.35 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.114, allocations: 161.3 kB / 0.6875 GB, free: 47.19 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.1149, allocations: 0.7598 MB / 0.6882 GB, free: 46.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1149, allocations: 4 kB / 0.6882 GB, free: 46.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1149, allocations: 4 kB / 0.6882 GB, free: 46.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.1149, allocations: 0 / 0.6882 GB, free: 46.42 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.002615/0.1175, allocations: 0.9882 MB / 0.6892 GB, free: 45.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1176, allocations: 8.031 kB / 0.6892 GB, free: 45.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.1186, allocations: 130.9 kB / 0.6893 GB, free: 45.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.1199, allocations: 0.5679 MB / 0.6899 GB, free: 44.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.12, allocations: 45.31 kB / 0.6899 GB, free: 44.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.1202, allocations: 71.98 kB / 0.69 GB, free: 44.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.1222, allocations: 1.006 MB / 0.6909 GB, free: 43.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.1222, allocations: 15.77 kB / 0.691 GB, free: 43.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.1223, allocations: 24 kB / 0.691 GB, free: 43.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003199/0.1227, allocations: 77.94 kB / 0.6911 GB, free: 43.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.1247, allocations: 0.9641 MB / 0.692 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006415/0.1312, allocations: 3.268 MB / 0.6952 GB, free: 39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.1327, allocations: 0.6829 MB / 0.6959 GB, free: 38.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008262/0.1335, allocations: 423.3 kB / 0.6963 GB, free: 37.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.141e-05/0.1336, allocations: 4.562 kB / 0.6963 GB, free: 37.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1336, allocations: 43.12 kB / 0.6963 GB, free: 37.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=73): time 4.308e-06/0.1337, allocations: 0 / 0.6963 GB, free: 37.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.005179/0.1388, allocations: 2.425 MB / 0.6987 GB, free: 35.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1389, allocations: 85.67 kB / 0.6988 GB, free: 35.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/0.1395, allocations: 433.8 kB / 0.6992 GB, free: 34.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.1395, allocations: 41.69 kB / 0.6992 GB, free: 34.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.1398, allocations: 359.5 kB / 0.6996 GB, free: 34.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.14, allocations: 252.2 kB / 0.6998 GB, free: 34.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.14, allocations: 23.97 kB / 0.6998 GB, free: 34.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1402, allocations: 374.8 kB / 0.7002 GB, free: 33.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007089/0.1409, allocations: 333.8 kB / 0.7005 GB, free: 33.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.1417, allocations: 0.5146 MB / 0.701 GB, free: 32.81 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.006583/0.1483, allocations: 1.384 MB / 0.7023 GB, free: 31.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1483, allocations: 0 / 0.7023 GB, free: 31.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002191/0.1505, allocations: 1.086 MB / 0.7034 GB, free: 30.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1505, allocations: 8.719 kB / 0.7034 GB, free: 30.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.1506, allocations: 4 kB / 0.7034 GB, free: 30.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.1508, allocations: 44.83 kB / 0.7035 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.1522, allocations: 187.7 kB / 0.7036 GB, free: 30.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.1533, allocations: 1.397 MB / 0.705 GB, free: 28.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.154, allocations: 39.88 kB / 0.705 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-05/0.1541, allocations: 28 kB / 0.7051 GB, free: 28.45 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: 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 (95): * Single equations (assignments): 92 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004651/0.1546, allocations: 277.5 kB / 0.7053 GB, free: 28.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.1548, allocations: 59.25 kB / 0.7054 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.1568, allocations: 0.9584 MB / 0.7063 GB, free: 27.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.1568, allocations: 7.984 kB / 0.7063 GB, free: 27.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1568, allocations: 0 / 0.7063 GB, free: 27.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1569, allocations: 136.2 kB / 0.7065 GB, free: 26.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.1571, allocations: 12 kB / 0.7065 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/0.1576, allocations: 35.97 kB / 0.7065 GB, free: 26.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.1578, allocations: 44.44 kB / 0.7066 GB, free: 26.88 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002891/0.1607, allocations: 1.09 MB / 0.7076 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002555/0.1632, allocations: 1.532 MB / 0.7091 GB, free: 24.22 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006891/0.164, allocations: 396.4 kB / 0.7095 GB, free: 23.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004003/0.1644, allocations: 303.1 kB / 0.7098 GB, free: 23.54 MB / 442.7 MB Notification: Performance of Backend: time 7.52e-07/0.1644, allocations: 0 / 0.7098 GB, free: 23.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.1665, allocations: 0.7562 MB / 0.7105 GB, free: 22.76 MB / 442.7 MB Notification: Performance of SimCode: time 0.00358/0.1701, allocations: 2.454 MB / 0.7129 GB, free: 20.25 MB / 442.7 MB Notification: Performance of Templates: time 0.02189/0.192, allocations: 8.83 MB / 0.7215 GB, free: 11.44 MB / 442.7 MB