Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002633/0.002637, allocations: 362.4 kB / 17.22 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 4.017/4.017, 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.003645/0.003645, allocations: 235.7 kB / 452.2 MB, free: 14.58 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.7611/0.7611, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004808, allocations: 16 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09793, allocations: 53.22 MB / 0.6742 GB, free: 60.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.007468/0.1055, allocations: 6.12 MB / 0.6802 GB, free: 54.81 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.109, allocations: 1.517 MB / 0.6817 GB, free: 53.29 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.1096, allocations: 51.62 kB / 0.6817 GB, free: 53.24 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1099, allocations: 91.27 kB / 0.6818 GB, free: 53.15 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.1112, allocations: 381.8 kB / 0.6822 GB, free: 52.77 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.1119, allocations: 203.6 kB / 0.6824 GB, free: 52.57 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008924/0.1128, allocations: 0.7746 MB / 0.6831 GB, free: 51.8 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.1131, allocations: 126.5 kB / 0.6832 GB, free: 51.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.1135, allocations: 254.7 kB / 0.6835 GB, free: 51.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.1141, allocations: 314.9 kB / 0.6838 GB, free: 51.11 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.1142, allocations: 20 kB / 0.6838 GB, free: 51.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.1143, allocations: 19.94 kB / 0.6838 GB, free: 51.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.1145, allocations: 147.5 kB / 0.684 GB, free: 50.92 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1146, allocations: 113.5 kB / 0.6841 GB, free: 50.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.115, allocations: 355 kB / 0.6844 GB, free: 50.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.115, allocations: 0 / 0.6844 GB, free: 50.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.115, allocations: 0 / 0.6844 GB, free: 50.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1151, allocations: 3.938 kB / 0.6844 GB, free: 50.45 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00152/0.1166, allocations: 0.7189 MB / 0.6851 GB, free: 49.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1167, allocations: 8.031 kB / 0.6851 GB, free: 49.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.1168, allocations: 51.34 kB / 0.6852 GB, free: 49.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007943/0.1176, allocations: 415.3 kB / 0.6856 GB, free: 49.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.1176, allocations: 29 kB / 0.6856 GB, free: 49.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.1177, allocations: 39.95 kB / 0.6856 GB, free: 49.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008648/0.1186, allocations: 455.6 kB / 0.6861 GB, free: 48.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.1186, allocations: 7.906 kB / 0.6861 GB, free: 48.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.1187, allocations: 16 kB / 0.6861 GB, free: 48.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.1187, allocations: 8 kB / 0.6861 GB, free: 48.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/0.1195, allocations: 312.6 kB / 0.6864 GB, free: 48.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.1221, allocations: 1.767 MB / 0.6881 GB, free: 46.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.1224, allocations: 143.7 kB / 0.6883 GB, free: 46.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1226, allocations: 54.67 kB / 0.6883 GB, free: 46.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1226, allocations: 4 kB / 0.6883 GB, free: 46.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1226, allocations: 38.5 kB / 0.6884 GB, free: 46.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.647e-06/0.1226, allocations: 0 / 0.6884 GB, free: 46.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.001249/0.1239, allocations: 0.6079 MB / 0.689 GB, free: 45.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.124, allocations: 102.8 kB / 0.6891 GB, free: 45.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.1244, allocations: 369.5 kB / 0.6894 GB, free: 44.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1245, allocations: 33.64 kB / 0.6894 GB, free: 44.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1246, allocations: 287.3 kB / 0.6897 GB, free: 44.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1247, allocations: 55.38 kB / 0.6898 GB, free: 44.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.1247, allocations: 8 kB / 0.6898 GB, free: 44.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.1248, allocations: 350.8 kB / 0.6901 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.125, allocations: 47.73 kB / 0.6901 GB, free: 44.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.1252, allocations: 191.4 kB / 0.6903 GB, free: 43.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.1254, allocations: 79.94 kB / 0.6904 GB, free: 43.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1254, allocations: 0 / 0.6904 GB, free: 43.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005607/0.126, allocations: 297.2 kB / 0.6907 GB, free: 43.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.126, allocations: 4 kB / 0.6907 GB, free: 43.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.126, allocations: 11.98 kB / 0.6907 GB, free: 43.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.126, allocations: 8 kB / 0.6907 GB, free: 43.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.1265, allocations: 63.91 kB / 0.6908 GB, free: 43.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.1265, allocations: 11.94 kB / 0.6908 GB, free: 43.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.1268, allocations: 19.78 kB / 0.6908 GB, free: 43.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1268, allocations: 20 kB / 0.6908 GB, free: 43.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002647/0.1271, allocations: 185.7 kB / 0.691 GB, free: 43.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.1272, allocations: 35.53 kB / 0.691 GB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.1276, allocations: 168.7 kB / 0.6912 GB, free: 43.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1276, allocations: 3.984 kB / 0.6912 GB, free: 43.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1277, allocations: 0 / 0.6912 GB, free: 43.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-05/0.1278, allocations: 112.6 kB / 0.6913 GB, free: 42.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.1278, allocations: 4 kB / 0.6913 GB, free: 42.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.1281, allocations: 7.953 kB / 0.6913 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1281, allocations: 11.98 kB / 0.6913 GB, free: 42.87 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006112/0.1288, allocations: 399.3 kB / 0.6917 GB, free: 42.47 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005222/0.1293, allocations: 0.5246 MB / 0.6922 GB, free: 41.93 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001151/0.1294, allocations: 55.91 kB / 0.6923 GB, free: 41.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003324/0.1298, allocations: 251.2 kB / 0.6925 GB, free: 41.63 MB / 442.7 MB Notification: Performance of Backend: time 1.563e-06/0.1298, allocations: 0 / 0.6925 GB, free: 41.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008951/0.1307, allocations: 198.6 kB / 0.6927 GB, free: 41.43 MB / 442.7 MB Notification: Performance of SimCode: time 0.003044/0.1338, allocations: 1.572 MB / 0.6942 GB, free: 39.81 MB / 442.7 MB Notification: Performance of Templates: time 0.01749/0.1513, allocations: 3.125 MB / 0.6973 GB, free: 36.71 MB / 442.7 MB