Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002427/0.002432, allocations: 354.3 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.47/3.47, allocations: 388.9 MB / 406.2 MB, free: 11.89 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.003487/0.003487, allocations: 237.6 kB / 451.6 MB, free: 14.47 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.6572/0.6572, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005177, allocations: 16 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06894/0.06948, allocations: 53.24 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.0032/0.07272, allocations: 3.196 MB / 0.6767 GB, free: 57.6 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.07463, allocations: 1.494 MB / 0.6782 GB, free: 56.1 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.07478, allocations: 19.88 kB / 0.6782 GB, free: 56.08 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.07491, allocations: 35.7 kB / 0.6782 GB, free: 56.04 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.07543, allocations: 215 kB / 0.6784 GB, free: 55.83 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.07571, allocations: 99.62 kB / 0.6785 GB, free: 55.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.07609, allocations: 438.8 kB / 0.679 GB, free: 55.3 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005823/0.07669, allocations: 319 kB / 0.6793 GB, free: 54.97 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.07688, allocations: 119.4 kB / 0.6794 GB, free: 54.86 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.07711, allocations: 147.5 kB / 0.6795 GB, free: 54.71 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.07715, allocations: 8 kB / 0.6795 GB, free: 54.7 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.07748, allocations: 171.5 kB / 0.6797 GB, free: 54.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.739e-05/0.07758, allocations: 91.75 kB / 0.6798 GB, free: 54.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.07765, allocations: 61.58 kB / 0.6798 GB, free: 54.38 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.07795, allocations: 255.4 kB / 0.6801 GB, free: 54.13 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.141e-06/0.07797, allocations: 4 kB / 0.6801 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.07798, allocations: 0 / 0.6801 GB, free: 54.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.612e-06/0.07799, allocations: 0 / 0.6801 GB, free: 54.12 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.0005251/0.07852, allocations: 494.5 kB / 0.6806 GB, free: 53.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.07857, allocations: 8.828 kB / 0.6806 GB, free: 53.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.07975, allocations: 111.6 kB / 0.6807 GB, free: 53.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.08004, allocations: 258.5 kB / 0.6809 GB, free: 53.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.08007, allocations: 19.92 kB / 0.6809 GB, free: 53.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.08013, allocations: 27.94 kB / 0.681 GB, free: 53.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.08066, allocations: 325.3 kB / 0.6813 GB, free: 52.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.08069, allocations: 0 / 0.6813 GB, free: 52.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.08073, allocations: 11.98 kB / 0.6813 GB, free: 52.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.08077, allocations: 15.98 kB / 0.6813 GB, free: 52.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.08133, allocations: 315.7 kB / 0.6816 GB, free: 52.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.08297, allocations: 1.256 MB / 0.6828 GB, free: 51.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.08327, allocations: 165 kB / 0.683 GB, free: 50.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.08346, allocations: 105.7 kB / 0.6831 GB, free: 50.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.0835, allocations: 0 / 0.6831 GB, free: 50.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.08353, allocations: 38.56 kB / 0.6831 GB, free: 50.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.745e-06/0.08354, allocations: 0 / 0.6831 GB, free: 50.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.001597/0.08514, allocations: 0.6689 MB / 0.6838 GB, free: 50.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.08519, allocations: 77.23 kB / 0.6838 GB, free: 49.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.08537, allocations: 199.2 kB / 0.684 GB, free: 49.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.0854, allocations: 25.7 kB / 0.6841 GB, free: 49.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.08548, allocations: 156 kB / 0.6842 GB, free: 49.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.08554, allocations: 63.09 kB / 0.6843 GB, free: 49.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.08557, allocations: 4 kB / 0.6843 GB, free: 49.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.08563, allocations: 330.8 kB / 0.6846 GB, free: 49.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.08579, allocations: 75.95 kB / 0.6847 GB, free: 49.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.08598, allocations: 160.5 kB / 0.6848 GB, free: 48.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.08617, allocations: 103.9 kB / 0.6849 GB, free: 48.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.024e-06/0.08619, allocations: 3.984 kB / 0.6849 GB, free: 48.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007065/0.0869, allocations: 353.4 kB / 0.6853 GB, free: 48.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.08693, allocations: 8 kB / 0.6853 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.08695, allocations: 4.281 kB / 0.6853 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/0.08738, allocations: 92.77 kB / 0.6854 GB, free: 48.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.08758, allocations: 39.92 kB / 0.6854 GB, free: 48.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.08991, allocations: 1.936 MB / 0.6873 GB, free: 46.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.0901, allocations: 11.98 kB / 0.6873 GB, free: 46.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.09014, allocations: 11.98 kB / 0.6873 GB, free: 46.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.09029, allocations: 169.6 kB / 0.6875 GB, free: 46.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.09035, allocations: 15.81 kB / 0.6875 GB, free: 46.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.09102, allocations: 320 kB / 0.6878 GB, free: 45.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.297e-06/0.09104, allocations: 4 kB / 0.6878 GB, free: 45.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.401e-06/0.09106, allocations: 4.125 kB / 0.6878 GB, free: 45.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-06/0.09107, allocations: 0 / 0.6878 GB, free: 45.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.09232, allocations: 0.7426 MB / 0.6885 GB, free: 44.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.857e-06/0.09234, allocations: 3.984 kB / 0.6885 GB, free: 44.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.09249, allocations: 27.94 kB / 0.6886 GB, free: 44.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003209/0.09283, allocations: 80.84 kB / 0.6886 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.09286, allocations: 7.938 kB / 0.6886 GB, free: 44.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.09471, allocations: 1.818 MB / 0.6904 GB, free: 42.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.976e-06/0.09474, allocations: 4.078 kB / 0.6904 GB, free: 42.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.09541, allocations: 410.5 kB / 0.6908 GB, free: 42.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.09548, allocations: 96.81 kB / 0.6909 GB, free: 42.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.09553, allocations: 7.953 kB / 0.6909 GB, free: 42.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.09572, allocations: 8 kB / 0.6909 GB, free: 42.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.09578, allocations: 20.09 kB / 0.6909 GB, free: 42.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.09581, allocations: 12 kB / 0.6909 GB, free: 42.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.09594, allocations: 135.2 kB / 0.6911 GB, free: 42.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.48e-06/0.09595, allocations: 0 / 0.6911 GB, free: 42.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005449/0.0965, allocations: 71.94 kB / 0.6911 GB, free: 42.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 8.572e-05/0.0966, allocations: 95.25 kB / 0.6912 GB, free: 41.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006903/0.0973, allocations: 374.5 kB / 0.6916 GB, free: 41.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.131e-06/0.09732, allocations: 0 / 0.6916 GB, free: 41.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.09774, allocations: 255 kB / 0.6918 GB, free: 41.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.0982, allocations: 36.19 kB / 0.6919 GB, free: 41.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.09902, allocations: 0.5824 MB / 0.6924 GB, free: 40.65 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.09926, allocations: 0.7755 MB / 0.6932 GB, free: 39.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00016/0.09944, allocations: 37.53 kB / 0.6932 GB, free: 39.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.0995, allocations: 19.42 kB / 0.6933 GB, free: 39.79 MB / 442.7 MB Notification: Performance of SimCode: time 2.219e-06/0.09952, allocations: 0 / 0.6933 GB, free: 39.79 MB / 442.7 MB Notification: Performance of Templates: time 0.006565/0.1061, allocations: 2.636 MB / 0.6958 GB, free: 37.16 MB / 442.7 MB