Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002564/0.00257, allocations: 363.1 kB / 17.21 MB, free: 4.93 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.716/3.716, 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.003513/0.003512, allocations: 227.4 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.8115/0.8115, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004495, allocations: 15.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09092, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01183/0.1028, allocations: 9.295 MB / 0.6833 GB, free: 51.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00719/0.11, allocations: 3.407 MB / 0.6866 GB, free: 48.09 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.1114, allocations: 63.62 kB / 0.6867 GB, free: 48.02 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1125, allocations: 270.1 kB / 0.687 GB, free: 47.76 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.1155, allocations: 0.7577 MB / 0.6877 GB, free: 47 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.1174, allocations: 411.2 kB / 0.6881 GB, free: 46.59 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.1205, allocations: 1.975 MB / 0.69 GB, free: 44.61 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.1223, allocations: 0.86 MB / 0.6909 GB, free: 43.7 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.1235, allocations: 0.5599 MB / 0.6914 GB, free: 43.14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.125, allocations: 0.7122 MB / 0.6921 GB, free: 42.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.1252, allocations: 56 kB / 0.6921 GB, free: 42.37 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008161/0.1261, allocations: 283.5 kB / 0.6924 GB, free: 42.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004422/0.1265, allocations: 410.8 kB / 0.6928 GB, free: 41.69 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.1269, allocations: 257.1 kB / 0.6931 GB, free: 41.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.1287, allocations: 1.488 MB / 0.6945 GB, free: 39.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.1288, allocations: 7.938 kB / 0.6945 GB, free: 39.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1288, allocations: 0 / 0.6945 GB, free: 39.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.205e-05/0.1289, allocations: 0 / 0.6945 GB, free: 39.93 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00401/0.1329, allocations: 1.386 MB / 0.6959 GB, free: 38.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1329, allocations: 8.031 kB / 0.6959 GB, free: 38.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.1341, allocations: 186.3 kB / 0.6961 GB, free: 38.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.1364, allocations: 0.8634 MB / 0.6969 GB, free: 37.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/0.1365, allocations: 81.95 kB / 0.697 GB, free: 37.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.1369, allocations: 119.9 kB / 0.6971 GB, free: 37.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/0.1399, allocations: 1.303 MB / 0.6984 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.376e-05/0.14, allocations: 7.922 kB / 0.6984 GB, free: 35.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.1402, allocations: 51.97 kB / 0.6984 GB, free: 35.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.1403, allocations: 61.98 kB / 0.6985 GB, free: 35.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/0.143, allocations: 1.062 MB / 0.6995 GB, free: 34.65 MB / 442.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.000124777475384046 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009308/0.1523, allocations: 4.918 MB / 0.7043 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.154, allocations: 0.7659 MB / 0.7051 GB, free: 28.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/0.1548, allocations: 336.2 kB / 0.7054 GB, free: 28.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/0.1549, allocations: 12.88 kB / 0.7054 GB, free: 28.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1549, allocations: 47.12 kB / 0.7054 GB, free: 28.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.779e-06/0.1549, allocations: 0 / 0.7054 GB, free: 28.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.008114/0.163, allocations: 3.107 MB / 0.7085 GB, free: 25.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.1631, allocations: 137.1 kB / 0.7086 GB, free: 24.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.1642, allocations: 0.7116 MB / 0.7093 GB, free: 24.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.1643, allocations: 37.7 kB / 0.7093 GB, free: 24.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.1646, allocations: 0.5378 MB / 0.7099 GB, free: 23.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.1649, allocations: 252.4 kB / 0.7101 GB, free: 23.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.1649, allocations: 16 kB / 0.7101 GB, free: 23.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.165, allocations: 350 kB / 0.7105 GB, free: 22.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/0.1658, allocations: 285.8 kB / 0.7107 GB, free: 22.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/0.1666, allocations: 0.5317 MB / 0.7112 GB, free: 22.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008913/0.1675, allocations: 383 kB / 0.7116 GB, free: 21.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.1676, allocations: 4 kB / 0.7116 GB, free: 21.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004377/0.172, allocations: 1.34 MB / 0.7129 GB, free: 20.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.1722, allocations: 316.2 kB / 0.7132 GB, free: 19.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1722, allocations: 8 kB / 0.7132 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.1746, allocations: 444.4 kB / 0.7137 GB, free: 19.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.1758, allocations: 167.7 kB / 0.7138 GB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.1875, allocations: 4.919 MB / 0.7186 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.1885, allocations: 35.98 kB / 0.7187 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/0.1886, allocations: 40 kB / 0.7187 GB, free: 14.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.1887, allocations: 0 / 0.7187 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005274/0.1939, allocations: 1.133 MB / 0.7198 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.417e-05/0.1941, allocations: 15.97 kB / 0.7198 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/0.1978, allocations: 401 kB / 0.7202 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.1997, allocations: 163.7 kB / 0.7204 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.2119, allocations: 4.634 MB / 0.7249 GB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.2129, allocations: 28 kB / 0.7249 GB, free: 7.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.443e-05/0.213, allocations: 39.98 kB / 0.7249 GB, free: 7.605 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (79): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007599/0.2138, allocations: 429.1 kB / 0.7254 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.2141, allocations: 90.92 kB / 0.7254 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.2161, allocations: 0.8792 MB / 0.7263 GB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.2162, allocations: 7.922 kB / 0.7263 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.2162, allocations: 0 / 0.7263 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.2166, allocations: 223.8 kB / 0.7265 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.2168, allocations: 20 kB / 0.7265 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/0.2176, allocations: 23.98 kB / 0.7266 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.2178, allocations: 48.52 kB / 0.7266 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003044/0.2208, allocations: 1.063 MB / 0.7276 GB, free: 4.762 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002671/0.2235, allocations: 1.426 MB / 0.729 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007118/0.2243, allocations: 337 kB / 0.7294 GB, free: 2.988 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000884/0.2252, allocations: 499 kB / 0.7298 GB, free: 2.504 MB / 442.7 MB Notification: Performance of Backend: time 6.41e-07/0.2252, allocations: 0 / 0.7298 GB, free: 2.504 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005534/0.2308, allocations: 1.767 MB / 0.7316 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of SimCode: time 0.2896/0.5204, allocations: 3.336 MB / 0.7348 GB, free: 124.4 MB / 442.7 MB Notification: Performance of Templates: time 0.05338/0.5738, allocations: 18.71 MB / 0.7531 GB, free: 122.9 MB / 442.7 MB