Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadModel(PowerSystems): time 2.301/2.301, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.387e-05, allocations: 7.984 kB / 304.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3633, allocations: 53.21 MB / 357.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.00483/0.3682, allocations: 2.95 MB / 360.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.3706, allocations: 1.103 MB / 361.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.3708, allocations: 15.88 kB / 361.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.371, allocations: 35.75 kB / 361.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.3715, allocations: 119.6 kB / 361.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.3719, allocations: 95.72 kB / 361.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.3722, allocations: 123.7 kB / 362 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006392/0.3728, allocations: 245.3 kB / 362.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.3731, allocations: 87.69 kB / 362.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3733, allocations: 67.75 kB / 362.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.3737, allocations: 107.8 kB / 362.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.3737, allocations: 8 kB / 362.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.3738, allocations: 43.84 kB / 362.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.3739, allocations: 20 kB / 362.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.3743, allocations: 203.5 kB / 362.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3743, allocations: 0 / 362.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3743, allocations: 0 / 362.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3743, allocations: 4 kB / 362.8 MB, free: 10.25 MB / 298.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.0007264/0.3751, allocations: 462.9 kB / 363.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3751, allocations: 8.031 kB / 363.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.3761, allocations: 83.64 kB / 363.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.3765, allocations: 250.6 kB / 363.6 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3766, allocations: 8.328 kB / 363.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.3766, allocations: 19.91 kB / 363.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.3773, allocations: 269.7 kB / 363.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3773, allocations: 0 / 363.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.3774, allocations: 15.94 kB / 363.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.3774, allocations: 8.328 kB / 363.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.378, allocations: 220.4 kB / 364.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.3805, allocations: 1.21 MB / 365.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.3809, allocations: 129.2 kB / 365.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3809, allocations: 8.281 kB / 365.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.381, allocations: 42.44 kB / 365.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.775e-06/0.381, allocations: 0 / 365.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004812/0.3815, allocations: 157.4 kB / 365.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.3816, allocations: 81.11 kB / 365.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.3818, allocations: 182.2 kB / 365.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3819, allocations: 29.7 kB / 365.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.382, allocations: 218.2 kB / 366.1 MB, free: 6.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.3821, allocations: 43.58 kB / 366.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.3821, allocations: 4 kB / 366.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3823, allocations: 318.8 kB / 366.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3824, allocations: 39.97 kB / 366.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.3826, allocations: 127.8 kB / 366.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3828, allocations: 72.25 kB / 366.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3828, allocations: 4 kB / 366.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000484/0.3833, allocations: 189.3 kB / 366.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3833, allocations: 8 kB / 366.9 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3834, allocations: 3.938 kB / 366.9 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.3834, allocations: 11.98 kB / 366.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.3838, allocations: 48.27 kB / 367 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.385, allocations: 1.333 MB / 368.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.3852, allocations: 16 kB / 368.3 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.3853, allocations: 19.94 kB / 368.4 MB, free: 4.219 MB / 298.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 () * 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.0001937/0.3855, allocations: 145.7 kB / 368.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.3856, allocations: 19.81 kB / 368.5 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.3859, allocations: 135 kB / 368.6 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3859, allocations: 4 kB / 368.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3859, allocations: 0 / 368.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.386, allocations: 3.984 kB / 368.7 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.3869, allocations: 499.9 kB / 369.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3869, allocations: 4 kB / 369.1 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.3873, allocations: 35.91 kB / 369.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3873, allocations: 0 / 369.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3873, allocations: 8 kB / 369.2 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3884, allocations: 1.325 MB / 370.5 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3885, allocations: 0 / 370.5 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005441/0.389, allocations: 343.1 kB / 370.9 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/0.3891, allocations: 100.8 kB / 371 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.3892, allocations: 4 kB / 371 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.3893, allocations: 7.938 kB / 371 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3894, allocations: 12.05 kB / 371 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3894, allocations: 8 kB / 371 MB, free: 1.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.3896, allocations: 152.2 kB / 371.1 MB, free: 1.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3896, allocations: 0 / 371.1 MB, free: 1.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004417/0.3901, allocations: 40 kB / 371.2 MB, free: 1.125 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.000147/0.3902, allocations: 112.7 kB / 371.3 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.3907, allocations: 128.3 kB / 371.4 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3907, allocations: 0 / 371.4 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.391, allocations: 55.94 kB / 371.5 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3914, allocations: 34.5 kB / 371.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3928, allocations: 0.6359 MB / 372.1 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.3932, allocations: 0.7556 MB / 372.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/0.3933, allocations: 19.44 kB / 372.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3933, allocations: 0 / 372.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of Templates: time 0.007174/0.4005, allocations: 2.921 MB / 375.8 MB, free: 12.4 MB / 314.7 MB