Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.GeneratorTest2") 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.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.503/3.503, allocations: 388.9 MB / 406.9 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003413/0.003413, allocations: 233.5 kB / 452.2 MB, free: 0.5938 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7375/0.7375, allocations: 76.02 MB / 0.56 GB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004624, allocations: 12 kB / 0.6223 GB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3402, allocations: 53.21 MB / 0.6742 GB, free: 62.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005428/0.3456, allocations: 4.689 MB / 0.6788 GB, free: 57.92 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004497/0.3502, allocations: 2.443 MB / 0.6812 GB, free: 55.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/0.3507, allocations: 19.88 kB / 0.6812 GB, free: 55.46 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.351, allocations: 79.39 kB / 0.6813 GB, free: 55.38 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.3524, allocations: 404 kB / 0.6817 GB, free: 54.99 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.3532, allocations: 208.4 kB / 0.6819 GB, free: 54.79 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009842/0.3542, allocations: 0.8891 MB / 0.6827 GB, free: 53.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.3554, allocations: 0.536 MB / 0.6832 GB, free: 53.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004494/0.3558, allocations: 250.8 kB / 0.6835 GB, free: 53.1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.3563, allocations: 318.9 kB / 0.6838 GB, free: 52.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.3564, allocations: 20 kB / 0.6838 GB, free: 52.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009052/0.3573, allocations: 338.9 kB / 0.6841 GB, free: 52.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.3575, allocations: 183.4 kB / 0.6843 GB, free: 52.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3576, allocations: 105.5 kB / 0.6844 GB, free: 52.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007233/0.3584, allocations: 0.5377 MB / 0.6849 GB, free: 51.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3584, allocations: 0 / 0.6849 GB, free: 51.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3584, allocations: 0 / 0.6849 GB, free: 51.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.3584, allocations: 4 kB / 0.6849 GB, free: 51.6 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001182/0.3596, allocations: 0.6902 MB / 0.6856 GB, free: 50.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3597, allocations: 8.031 kB / 0.6856 GB, free: 50.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.3622, allocations: 231.2 kB / 0.6858 GB, free: 50.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.3628, allocations: 353.1 kB / 0.6862 GB, free: 50.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.3628, allocations: 29 kB / 0.6862 GB, free: 50.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.363, allocations: 47.98 kB / 0.6863 GB, free: 50.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.3642, allocations: 0.6184 MB / 0.6869 GB, free: 49.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.3643, allocations: 4 kB / 0.6869 GB, free: 49.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.3644, allocations: 12 kB / 0.6869 GB, free: 49.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.957e-05/0.3644, allocations: 44.97 kB / 0.6869 GB, free: 49.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3657, allocations: 0.6011 MB / 0.6875 GB, free: 48.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.3701, allocations: 2.261 MB / 0.6897 GB, free: 46.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/0.371, allocations: 492.4 kB / 0.6902 GB, free: 45.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/0.3715, allocations: 244.6 kB / 0.6904 GB, free: 45.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.234e-05/0.3715, allocations: 8 kB / 0.6904 GB, free: 45.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3716, allocations: 34.56 kB / 0.6905 GB, free: 45.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.877e-06/0.3716, allocations: 0 / 0.6905 GB, free: 45.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.004985/0.3766, allocations: 1.704 MB / 0.6921 GB, free: 43.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3766, allocations: 88.84 kB / 0.6922 GB, free: 43.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.377, allocations: 275 kB / 0.6925 GB, free: 43.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.377, allocations: 33.7 kB / 0.6925 GB, free: 43.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.3772, allocations: 232 kB / 0.6927 GB, free: 43.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3773, allocations: 157.8 kB / 0.6929 GB, free: 43.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.3774, allocations: 8.031 kB / 0.6929 GB, free: 43.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.3774, allocations: 350.8 kB / 0.6932 GB, free: 42.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.3778, allocations: 177 kB / 0.6934 GB, free: 42.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.3783, allocations: 290.4 kB / 0.6937 GB, free: 42.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.3788, allocations: 223.5 kB / 0.6939 GB, free: 42.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.3788, allocations: 4 kB / 0.6939 GB, free: 42.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001689/0.3805, allocations: 0.6655 MB / 0.6945 GB, free: 41.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3806, allocations: 7.984 kB / 0.6945 GB, free: 41.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3806, allocations: 4 kB / 0.6945 GB, free: 41.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008761/0.3815, allocations: 179.1 kB / 0.6947 GB, free: 41.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.3822, allocations: 91.89 kB / 0.6948 GB, free: 41.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00433/0.3865, allocations: 2.534 MB / 0.6973 GB, free: 38.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.387, allocations: 19.94 kB / 0.6973 GB, free: 38.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.3871, allocations: 20 kB / 0.6973 GB, free: 38.35 MB / 346.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 (47): * Single equations (assignments): 46 * 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 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002967/0.3874, allocations: 193.7 kB / 0.6975 GB, free: 38.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.3875, allocations: 31.62 kB / 0.6975 GB, free: 38.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.3892, allocations: 0.6452 MB / 0.6981 GB, free: 37.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.3892, allocations: 0 / 0.6981 GB, free: 37.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3892, allocations: 4 kB / 0.6982 GB, free: 37.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.3893, allocations: 108.7 kB / 0.6983 GB, free: 37.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.3894, allocations: 12 kB / 0.6983 GB, free: 37.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.3897, allocations: 15.98 kB / 0.6983 GB, free: 37.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.3898, allocations: 39.94 kB / 0.6983 GB, free: 37.27 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002167/0.392, allocations: 0.8035 MB / 0.6991 GB, free: 36.46 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001375/0.3934, allocations: 0.8795 MB / 0.7 GB, free: 35.56 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003854/0.3938, allocations: 196.3 kB / 0.7002 GB, free: 35.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002407/0.3941, allocations: 197.9 kB / 0.7003 GB, free: 35.18 MB / 346.7 MB Notification: Performance of Backend: time 7.01e-07/0.3941, allocations: 0 / 0.7003 GB, free: 35.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.3964, allocations: 0.69 MB / 0.701 GB, free: 34.47 MB / 346.7 MB Notification: Performance of SimCode: time 0.00232/0.3987, allocations: 1.764 MB / 0.7027 GB, free: 32.67 MB / 346.7 MB Notification: Performance of Templates: time 0.01799/0.4167, allocations: 7.192 MB / 0.7098 GB, free: 25.51 MB / 346.7 MB