Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002675/0.00268, allocations: 359.2 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.945/3.945, allocations: 388.9 MB / 406.8 MB, free: 11.92 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.003599/0.003599, allocations: 233.6 kB / 452.2 MB, free: 14.52 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.7596/0.7596, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006226/0.0006229, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.09699, allocations: 53.25 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005473/0.1025, allocations: 4.456 MB / 0.6786 GB, free: 56.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.1059, allocations: 1.552 MB / 0.6801 GB, free: 54.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.1063, allocations: 23.81 kB / 0.6801 GB, free: 54.76 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.1065, allocations: 67.52 kB / 0.6802 GB, free: 54.7 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008871/0.1074, allocations: 270.5 kB / 0.6804 GB, free: 54.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009005/0.1084, allocations: 231.4 kB / 0.6807 GB, free: 54.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007806/0.1092, allocations: 0.682 MB / 0.6813 GB, free: 53.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.1102, allocations: 0.5191 MB / 0.6818 GB, free: 52.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.1106, allocations: 199.1 kB / 0.682 GB, free: 52.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.1112, allocations: 355 kB / 0.6824 GB, free: 52.42 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.759e-05/0.1113, allocations: 20 kB / 0.6824 GB, free: 52.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.1118, allocations: 175.7 kB / 0.6825 GB, free: 52.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.1121, allocations: 227.4 kB / 0.6828 GB, free: 52.01 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1122, allocations: 105.5 kB / 0.6829 GB, free: 51.9 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006608/0.1129, allocations: 0.491 MB / 0.6833 GB, free: 51.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1129, allocations: 4 kB / 0.6833 GB, free: 51.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1129, allocations: 0 / 0.6833 GB, free: 51.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.1129, allocations: 0 / 0.6833 GB, free: 51.4 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002385/0.1153, allocations: 0.6995 MB / 0.684 GB, free: 50.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.1154, allocations: 8.031 kB / 0.684 GB, free: 50.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.117, allocations: 87.38 kB / 0.6841 GB, free: 50.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.1184, allocations: 398.1 kB / 0.6845 GB, free: 50.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/0.1184, allocations: 28.95 kB / 0.6845 GB, free: 50.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.1187, allocations: 43.98 kB / 0.6846 GB, free: 50.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.1211, allocations: 0.6726 MB / 0.6852 GB, free: 49.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.741e-05/0.1212, allocations: 3.906 kB / 0.6852 GB, free: 49.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.1214, allocations: 27.97 kB / 0.6853 GB, free: 49.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003892/0.1218, allocations: 44.97 kB / 0.6853 GB, free: 49.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.1241, allocations: 0.6674 MB / 0.686 GB, free: 48.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.1295, allocations: 2.517 MB / 0.6884 GB, free: 45.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.1302, allocations: 333.3 kB / 0.6887 GB, free: 45.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/0.1307, allocations: 225.7 kB / 0.6889 GB, free: 45.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.72e-05/0.1307, allocations: 11.88 kB / 0.689 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1308, allocations: 42.52 kB / 0.689 GB, free: 45.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 3.717e-06/0.1308, allocations: 0 / 0.689 GB, free: 45.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.002697/0.1335, allocations: 1.345 MB / 0.6903 GB, free: 43.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1335, allocations: 77.11 kB / 0.6904 GB, free: 43.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1339, allocations: 300.4 kB / 0.6907 GB, free: 43.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.1339, allocations: 33.7 kB / 0.6907 GB, free: 43.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1341, allocations: 251.6 kB / 0.6909 GB, free: 43.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.1342, allocations: 153.8 kB / 0.6911 GB, free: 43.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1343, allocations: 12.12 kB / 0.6911 GB, free: 43.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.1344, allocations: 346.8 kB / 0.6914 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.1348, allocations: 193 kB / 0.6916 GB, free: 42.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.1353, allocations: 361.2 kB / 0.692 GB, free: 42.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.1358, allocations: 265.1 kB / 0.6922 GB, free: 41.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1358, allocations: 4 kB / 0.6922 GB, free: 41.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001236/0.1371, allocations: 0.6114 MB / 0.6928 GB, free: 41.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1371, allocations: 8 kB / 0.6928 GB, free: 41.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.1371, allocations: 11.95 kB / 0.6928 GB, free: 41.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.1372, allocations: 8 kB / 0.6928 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/0.138, allocations: 115.8 kB / 0.693 GB, free: 41.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.138, allocations: 8 kB / 0.693 GB, free: 41.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.1384, allocations: 23.98 kB / 0.693 GB, free: 41.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.1385, allocations: 24.3 kB / 0.693 GB, free: 41.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002693/0.1387, allocations: 217.7 kB / 0.6932 GB, free: 40.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1388, allocations: 39.52 kB / 0.6932 GB, free: 40.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.1399, allocations: 492.3 kB / 0.6937 GB, free: 40.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1399, allocations: 7.938 kB / 0.6937 GB, free: 40.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1399, allocations: 0 / 0.6937 GB, free: 40.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.14, allocations: 108.6 kB / 0.6938 GB, free: 40.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.1401, allocations: 7.984 kB / 0.6938 GB, free: 40.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.1404, allocations: 19.98 kB / 0.6939 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.1405, allocations: 23.97 kB / 0.6939 GB, free: 40.1 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001397/0.1419, allocations: 0.6442 MB / 0.6945 GB, free: 39.45 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001469/0.1434, allocations: 0.9755 MB / 0.6955 GB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004044/0.1438, allocations: 216 kB / 0.6957 GB, free: 38.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002461/0.1441, allocations: 211.1 kB / 0.6959 GB, free: 38.04 MB / 442.7 MB Notification: Performance of Backend: time 7.72e-07/0.1441, allocations: 3.938 kB / 0.6959 GB, free: 38.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.1454, allocations: 439.8 kB / 0.6963 GB, free: 37.6 MB / 442.7 MB Notification: Performance of SimCode: time 0.002167/0.1475, allocations: 1.639 MB / 0.6979 GB, free: 35.91 MB / 442.7 MB Notification: Performance of Templates: time 0.01326/0.1608, allocations: 4.862 MB / 0.7026 GB, free: 31.05 MB / 442.7 MB