Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.PMeterTest.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.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002667/0.002667, allocations: 361.7 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 3.957/3.957, 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.003622/0.003622, allocations: 223.9 kB / 452.2 MB, free: 14.57 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.7456/0.7456, allocations: 76.02 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004428, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1054, allocations: 53.23 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.00506/0.1105, allocations: 3.169 MB / 0.6773 GB, free: 57.62 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.1136, allocations: 1.498 MB / 0.6788 GB, free: 56.11 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.1139, allocations: 11.94 kB / 0.6788 GB, free: 56.1 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1141, allocations: 31.77 kB / 0.6788 GB, free: 56.07 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008598/0.1149, allocations: 222.9 kB / 0.679 GB, free: 55.85 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.1154, allocations: 87.7 kB / 0.6791 GB, free: 55.77 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006089/0.116, allocations: 442.8 kB / 0.6795 GB, free: 55.33 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008408/0.1169, allocations: 311 kB / 0.6798 GB, free: 55.01 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.1172, allocations: 111.4 kB / 0.6799 GB, free: 54.9 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.1175, allocations: 151.5 kB / 0.6801 GB, free: 54.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.1176, allocations: 8 kB / 0.6801 GB, free: 54.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005796/0.1182, allocations: 171.5 kB / 0.6803 GB, free: 54.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1183, allocations: 95.69 kB / 0.6804 GB, free: 54.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.1184, allocations: 65.58 kB / 0.6804 GB, free: 54.41 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.1189, allocations: 247.4 kB / 0.6807 GB, free: 54.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1189, allocations: 4 kB / 0.6807 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1189, allocations: 0 / 0.6807 GB, free: 54.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1189, allocations: 0 / 0.6807 GB, free: 54.16 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007818/0.1197, allocations: 478.5 kB / 0.6811 GB, free: 53.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1198, allocations: 8.031 kB / 0.6811 GB, free: 53.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.1216, allocations: 123.6 kB / 0.6812 GB, free: 53.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.122, allocations: 255.1 kB / 0.6815 GB, free: 53.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1221, allocations: 16 kB / 0.6815 GB, free: 53.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.1221, allocations: 19.94 kB / 0.6815 GB, free: 53.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.1228, allocations: 318.3 kB / 0.6818 GB, free: 52.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1228, allocations: 0 / 0.6818 GB, free: 52.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.1228, allocations: 12 kB / 0.6818 GB, free: 52.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.1229, allocations: 19.92 kB / 0.6819 GB, free: 52.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.1236, allocations: 303.7 kB / 0.6821 GB, free: 52.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.1257, allocations: 1.289 MB / 0.6834 GB, free: 51.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.1262, allocations: 198.3 kB / 0.6836 GB, free: 50.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/0.1263, allocations: 41.77 kB / 0.6836 GB, free: 50.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1263, allocations: 8 kB / 0.6836 GB, free: 50.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1264, allocations: 34.69 kB / 0.6837 GB, free: 50.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.454e-06/0.1264, allocations: 0 / 0.6837 GB, free: 50.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003996/0.1268, allocations: 145.3 kB / 0.6838 GB, free: 50.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.1268, allocations: 77.11 kB / 0.6839 GB, free: 50.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1271, allocations: 207.7 kB / 0.6841 GB, free: 50.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1271, allocations: 33.7 kB / 0.6841 GB, free: 50.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1272, allocations: 175.7 kB / 0.6843 GB, free: 50.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1273, allocations: 27.56 kB / 0.6843 GB, free: 50.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.1273, allocations: 4 kB / 0.6843 GB, free: 50.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.1274, allocations: 326.8 kB / 0.6846 GB, free: 49.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.952e-05/0.1275, allocations: 40.22 kB / 0.6847 GB, free: 49.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1276, allocations: 140.8 kB / 0.6848 GB, free: 49.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1278, allocations: 67.86 kB / 0.6849 GB, free: 49.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1278, allocations: 0 / 0.6849 GB, free: 49.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003936/0.1282, allocations: 205.3 kB / 0.6851 GB, free: 49.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1283, allocations: 4 kB / 0.6851 GB, free: 49.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1283, allocations: 4 kB / 0.6851 GB, free: 49.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1283, allocations: 8 kB / 0.6851 GB, free: 49.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.1286, allocations: 47.86 kB / 0.6851 GB, free: 49.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.1286, allocations: 11.89 kB / 0.6851 GB, free: 49.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.1288, allocations: 31.67 kB / 0.6852 GB, free: 49.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1289, allocations: 8 kB / 0.6852 GB, free: 49.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * 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.0001468/0.129, allocations: 158 kB / 0.6853 GB, free: 49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.1291, allocations: 19.8 kB / 0.6853 GB, free: 48.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.1294, allocations: 118.9 kB / 0.6854 GB, free: 48.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1294, allocations: 0 / 0.6854 GB, free: 48.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1294, allocations: 4.062 kB / 0.6855 GB, free: 48.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.1295, allocations: 100.9 kB / 0.6855 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.1295, allocations: 0 / 0.6855 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1297, allocations: 8 kB / 0.6856 GB, free: 48.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.1297, allocations: 12.03 kB / 0.6856 GB, free: 48.72 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003366/0.1301, allocations: 268.1 kB / 0.6858 GB, free: 48.45 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002618/0.1303, allocations: 370 kB / 0.6862 GB, free: 48.07 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.061e-05/0.1304, allocations: 43.94 kB / 0.6862 GB, free: 48.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1306, allocations: 148.2 kB / 0.6864 GB, free: 47.89 MB / 442.7 MB Notification: Performance of Backend: time 8.11e-07/0.1306, allocations: 3.938 kB / 0.6864 GB, free: 47.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009047/0.1315, allocations: 218.1 kB / 0.6866 GB, free: 47.66 MB / 442.7 MB Notification: Performance of SimCode: time 0.0009652/0.1325, allocations: 0.899 MB / 0.6874 GB, free: 46.72 MB / 442.7 MB Notification: Performance of Templates: time 0.00769/0.1402, allocations: 2.452 MB / 0.6898 GB, free: 44.27 MB / 442.7 MB