Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002402/0.002402, allocations: 355.2 kB / 16.57 MB, free: 5.59 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.467/3.467, allocations: 388.9 MB / 406.2 MB, free: 11.9 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.003504/0.003503, allocations: 237.6 kB / 451.6 MB, free: 14.5 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.6575/0.6575, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005331/0.0005333, allocations: 16 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06601/0.06657, allocations: 53.23 MB / 0.6736 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003159/0.06977, allocations: 3.169 MB / 0.6767 GB, free: 57.62 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.07158, allocations: 1.432 MB / 0.6781 GB, free: 56.18 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.07172, allocations: 11.94 kB / 0.6781 GB, free: 56.17 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.07185, allocations: 31.77 kB / 0.6781 GB, free: 56.14 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.07236, allocations: 211 kB / 0.6783 GB, free: 55.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.07261, allocations: 87.69 kB / 0.6784 GB, free: 55.85 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.073, allocations: 434.8 kB / 0.6788 GB, free: 55.42 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.07359, allocations: 315.1 kB / 0.6791 GB, free: 55.09 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.07378, allocations: 115.4 kB / 0.6793 GB, free: 54.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.074, allocations: 155.5 kB / 0.6794 GB, free: 54.83 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.07404, allocations: 8 kB / 0.6794 GB, free: 54.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.07435, allocations: 159.5 kB / 0.6796 GB, free: 54.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-05/0.07446, allocations: 99.73 kB / 0.6797 GB, free: 54.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.07453, allocations: 65.58 kB / 0.6797 GB, free: 54.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.07482, allocations: 239.4 kB / 0.6799 GB, free: 54.26 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.07483, allocations: 4 kB / 0.6799 GB, free: 54.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.68e-06/0.07484, allocations: 0 / 0.6799 GB, free: 54.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.07486, allocations: 0 / 0.6799 GB, free: 54.26 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.0005214/0.07539, allocations: 474.7 kB / 0.6804 GB, free: 53.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.07544, allocations: 12.83 kB / 0.6804 GB, free: 53.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.07649, allocations: 103.6 kB / 0.6805 GB, free: 53.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.07678, allocations: 259 kB / 0.6808 GB, free: 53.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.07682, allocations: 12 kB / 0.6808 GB, free: 53.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.07687, allocations: 20 kB / 0.6808 GB, free: 53.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.07737, allocations: 314.3 kB / 0.6811 GB, free: 52.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.07741, allocations: 7.875 kB / 0.6811 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.07745, allocations: 11.98 kB / 0.6811 GB, free: 52.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.07749, allocations: 16 kB / 0.6811 GB, free: 52.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.07798, allocations: 291.6 kB / 0.6814 GB, free: 52.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.07961, allocations: 1.281 MB / 0.6827 GB, free: 51.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.08005, allocations: 246.2 kB / 0.6829 GB, free: 51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.08016, allocations: 53.75 kB / 0.6829 GB, free: 50.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.0802, allocations: 8 kB / 0.6829 GB, free: 50.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.08023, allocations: 34.62 kB / 0.683 GB, free: 50.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.358e-06/0.08024, allocations: 0 / 0.683 GB, free: 50.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006337/0.08088, allocations: 288.3 kB / 0.6833 GB, free: 50.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.08094, allocations: 93.06 kB / 0.6833 GB, free: 50.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.08112, allocations: 195.2 kB / 0.6835 GB, free: 50.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.08114, allocations: 25.7 kB / 0.6836 GB, free: 50.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.08123, allocations: 159.8 kB / 0.6837 GB, free: 50.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.08127, allocations: 55.28 kB / 0.6838 GB, free: 50.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-06/0.08129, allocations: 0 / 0.6838 GB, free: 50.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.08136, allocations: 326.8 kB / 0.6841 GB, free: 49.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.08146, allocations: 43.97 kB / 0.6841 GB, free: 49.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.08161, allocations: 148.8 kB / 0.6843 GB, free: 49.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.08175, allocations: 71.97 kB / 0.6843 GB, free: 49.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.08177, allocations: 4 kB / 0.6843 GB, free: 49.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003703/0.08215, allocations: 221.1 kB / 0.6845 GB, free: 49.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.08218, allocations: 8 kB / 0.6845 GB, free: 49.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.342e-06/0.08219, allocations: 4 kB / 0.6846 GB, free: 49.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.08222, allocations: 4.438 kB / 0.6846 GB, free: 49.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.08243, allocations: 47.92 kB / 0.6846 GB, free: 49.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.08246, allocations: 19.88 kB / 0.6846 GB, free: 49.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.08261, allocations: 4 kB / 0.6846 GB, free: 49.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.08265, allocations: 12 kB / 0.6846 GB, free: 49.08 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 (25): * Single equations (assignments): 25 * 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.0001209/0.08278, allocations: 153.8 kB / 0.6848 GB, free: 48.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.08284, allocations: 15.81 kB / 0.6848 GB, free: 48.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.08312, allocations: 155 kB / 0.6849 GB, free: 48.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-06/0.08314, allocations: 0 / 0.6849 GB, free: 48.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.209e-06/0.08315, allocations: 8 kB / 0.685 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.258e-06/0.08317, allocations: 7.938 kB / 0.685 GB, free: 48.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009014/0.08408, allocations: 0.6612 MB / 0.6856 GB, free: 47.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.866e-06/0.0841, allocations: 0 / 0.6856 GB, free: 47.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.08427, allocations: 27.98 kB / 0.6856 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.08429, allocations: 4 kB / 0.6856 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.08432, allocations: 7.938 kB / 0.6856 GB, free: 47.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.787e-06/0.08433, allocations: 8.375 kB / 0.6857 GB, free: 47.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.08435, allocations: 8 kB / 0.6857 GB, free: 47.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.08466, allocations: 339.2 kB / 0.686 GB, free: 47.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.08473, allocations: 100.9 kB / 0.6861 GB, free: 47.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.08478, allocations: 15.94 kB / 0.6861 GB, free: 47.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.08498, allocations: 4 kB / 0.6861 GB, free: 47.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.08503, allocations: 23.88 kB / 0.6861 GB, free: 47.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.08506, allocations: 8 kB / 0.6861 GB, free: 47.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.08518, allocations: 135.2 kB / 0.6863 GB, free: 47.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.08519, allocations: 0 / 0.6863 GB, free: 47.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004496/0.08565, allocations: 48 kB / 0.6863 GB, free: 47.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.915e-05/0.08574, allocations: 114.9 kB / 0.6864 GB, free: 47.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.08602, allocations: 136.5 kB / 0.6865 GB, free: 46.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.762e-06/0.08604, allocations: 0 / 0.6865 GB, free: 46.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.08616, allocations: 67.91 kB / 0.6866 GB, free: 46.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.08668, allocations: 31.92 kB / 0.6866 GB, free: 46.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.08745, allocations: 0.5771 MB / 0.6872 GB, free: 46.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.08769, allocations: 0.7637 MB / 0.6879 GB, free: 45.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.08788, allocations: 49.55 kB / 0.688 GB, free: 45.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.08794, allocations: 19.44 kB / 0.688 GB, free: 45.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.371e-06/0.08796, allocations: 3.938 kB / 0.688 GB, free: 45.33 MB / 442.7 MB Notification: Performance of Templates: time 0.004468/0.09243, allocations: 1.213 MB / 0.6892 GB, free: 44.12 MB / 442.7 MB