Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.GeneratorTest.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.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002603/0.002608, 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.474/3.474, allocations: 388.9 MB / 406.9 MB, free: 6.934 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.003488/0.003487, allocations: 241.6 kB / 452.2 MB, free: 0.5859 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.7245/0.7245, allocations: 76.03 MB / 0.56 GB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 12 kB / 0.6223 GB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3368, allocations: 53.22 MB / 0.6742 GB, free: 62.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003954/0.3408, allocations: 3.057 MB / 0.6772 GB, free: 59.55 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.3431, allocations: 1.226 MB / 0.6784 GB, free: 58.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.3434, allocations: 7.938 kB / 0.6784 GB, free: 58.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.3436, allocations: 27.77 kB / 0.6784 GB, free: 58.29 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006058/0.3442, allocations: 152.7 kB / 0.6786 GB, free: 58.14 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.3446, allocations: 100.5 kB / 0.6787 GB, free: 58.04 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00039/0.345, allocations: 314.9 kB / 0.679 GB, free: 57.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006097/0.3457, allocations: 242.8 kB / 0.6792 GB, free: 57.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.3459, allocations: 103.1 kB / 0.6793 GB, free: 57.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.3461, allocations: 103.5 kB / 0.6794 GB, free: 57.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.3462, allocations: 8 kB / 0.6794 GB, free: 57.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.3465, allocations: 115.6 kB / 0.6795 GB, free: 57.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.3466, allocations: 59.8 kB / 0.6796 GB, free: 57.1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.3467, allocations: 57.58 kB / 0.6796 GB, free: 57.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.347, allocations: 199.5 kB / 0.6798 GB, free: 56.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.347, allocations: 4 kB / 0.6798 GB, free: 56.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.347, allocations: 0 / 0.6798 GB, free: 56.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3471, allocations: 2.469 kB / 0.6798 GB, free: 56.84 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000651/0.3477, allocations: 478.6 kB / 0.6803 GB, free: 56.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3478, allocations: 8.031 kB / 0.6803 GB, free: 56.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/0.3487, allocations: 83.64 kB / 0.6804 GB, free: 56.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.3491, allocations: 249.8 kB / 0.6806 GB, free: 55.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.3491, allocations: 16.33 kB / 0.6806 GB, free: 55.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.3492, allocations: 28.8 kB / 0.6807 GB, free: 55.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.3497, allocations: 257.9 kB / 0.6809 GB, free: 55.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3498, allocations: 4.969 kB / 0.6809 GB, free: 55.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.3498, allocations: 11.95 kB / 0.6809 GB, free: 55.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.3498, allocations: 8.328 kB / 0.6809 GB, free: 55.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.3503, allocations: 221.7 kB / 0.6811 GB, free: 55.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.3523, allocations: 1.211 MB / 0.6823 GB, free: 54.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.3527, allocations: 137.2 kB / 0.6825 GB, free: 53.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3528, allocations: 49.7 kB / 0.6825 GB, free: 53.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3528, allocations: 4 kB / 0.6825 GB, free: 53.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3528, allocations: 34.56 kB / 0.6825 GB, free: 53.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.116e-06/0.3528, allocations: 0 / 0.6825 GB, free: 53.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004391/0.3533, allocations: 161.4 kB / 0.6827 GB, free: 53.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.3533, allocations: 81.11 kB / 0.6828 GB, free: 53.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.3536, allocations: 198.3 kB / 0.683 GB, free: 53.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3536, allocations: 29.7 kB / 0.683 GB, free: 53.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3537, allocations: 159.8 kB / 0.6831 GB, free: 53.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.3538, allocations: 43.39 kB / 0.6832 GB, free: 53.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.3538, allocations: 4.062 kB / 0.6832 GB, free: 53.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.354, allocations: 338.8 kB / 0.6835 GB, free: 52.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3542, allocations: 43.98 kB / 0.6836 GB, free: 52.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.3544, allocations: 119.9 kB / 0.6837 GB, free: 52.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3545, allocations: 63.92 kB / 0.6837 GB, free: 52.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3545, allocations: 0 / 0.6837 GB, free: 52.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004048/0.355, allocations: 209.1 kB / 0.6839 GB, free: 52.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.355, allocations: 8 kB / 0.6839 GB, free: 52.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.355, allocations: 3.938 kB / 0.6839 GB, free: 52.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.355, allocations: 7.938 kB / 0.6839 GB, free: 52.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.3555, allocations: 51.91 kB / 0.684 GB, free: 52.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008765/0.3564, allocations: 1.329 MB / 0.6853 GB, free: 50.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.3566, allocations: 19.84 kB / 0.6853 GB, free: 50.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.3566, allocations: 8 kB / 0.6853 GB, free: 50.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.3568, allocations: 145.9 kB / 0.6855 GB, free: 50.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.3568, allocations: 15.81 kB / 0.6855 GB, free: 50.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.3571, allocations: 149 kB / 0.6856 GB, free: 50.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3572, allocations: 0 / 0.6856 GB, free: 50.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3572, allocations: 0 / 0.6856 GB, free: 50.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.3572, allocations: 96.92 kB / 0.6857 GB, free: 50.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.3573, allocations: 0 / 0.6857 GB, free: 50.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3574, allocations: 3.984 kB / 0.6857 GB, free: 50.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3575, allocations: 15.95 kB / 0.6857 GB, free: 50.32 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000632/0.3581, allocations: 324.9 kB / 0.686 GB, free: 49.99 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004288/0.3586, allocations: 441.7 kB / 0.6865 GB, free: 49.54 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001014/0.3587, allocations: 44.11 kB / 0.6865 GB, free: 49.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.3588, allocations: 152.2 kB / 0.6866 GB, free: 49.35 MB / 346.7 MB Notification: Performance of Backend: time 9.01e-07/0.3588, allocations: 0 / 0.6866 GB, free: 49.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009712/0.3598, allocations: 219.4 kB / 0.6869 GB, free: 49.13 MB / 346.7 MB Notification: Performance of SimCode: time 0.001283/0.3611, allocations: 1.047 MB / 0.6879 GB, free: 48.04 MB / 346.7 MB Notification: Performance of Templates: time 0.007648/0.3688, allocations: 2.269 MB / 0.6901 GB, free: 45.79 MB / 346.7 MB