Running command: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadModel(PowerSystems): time 2.31/2.31, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.51e-05, allocations: 0 / 304.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4092, allocations: 53.22 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003507/0.4127, allocations: 2.052 MB / 359.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.4136, allocations: 388.6 kB / 360 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.4137, allocations: 2.281 kB / 360 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.4137, allocations: 9.156 kB / 360 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.4139, allocations: 20.94 kB / 360 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.414, allocations: 22.25 kB / 360.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.4142, allocations: 48.89 kB / 360.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.4143, allocations: 8.906 kB / 360.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.4144, allocations: 36.05 kB / 360.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.4145, allocations: 45.27 kB / 360.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.546e-05/0.4146, allocations: 4.188 kB / 360.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.4146, allocations: 3.188 kB / 360.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.4146, allocations: 17.95 kB / 360.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.4147, allocations: 7.312 kB / 360.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.4148, allocations: 65.59 kB / 360.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4148, allocations: 0 / 360.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.676e-06/0.4148, allocations: 1.062 kB / 360.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.4148, allocations: 0 / 360.3 MB, free: 12.33 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007766/0.4156, allocations: 391 kB / 360.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.4157, allocations: 9.281 kB / 360.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.4157, allocations: 12.12 kB / 360.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.416, allocations: 181.7 kB / 360.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.416, allocations: 7.562 kB / 360.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.4161, allocations: 8.281 kB / 360.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.4165, allocations: 102.1 kB / 361 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.4165, allocations: 4.906 kB / 361 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.4165, allocations: 5.016 kB / 361 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4165, allocations: 5.016 kB / 361 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.417, allocations: 79.14 kB / 361.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.4181, allocations: 470.4 kB / 361.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.4186, allocations: 99 kB / 361.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.4187, allocations: 5.031 kB / 361.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4187, allocations: 31.75 kB / 361.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/0.4187, allocations: 0 / 361.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007337/0.4195, allocations: 158.1 kB / 361.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.4195, allocations: 56.44 kB / 361.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4197, allocations: 126.7 kB / 362 MB, free: 10.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.4197, allocations: 26.86 kB / 362 MB, free: 10.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.4198, allocations: 172.3 kB / 362.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.4199, allocations: 27.67 kB / 362.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.4199, allocations: 0 / 362.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.42, allocations: 319.8 kB / 362.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.4202, allocations: 38.59 kB / 362.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.4205, allocations: 69.34 kB / 362.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.4207, allocations: 44.02 kB / 362.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4207, allocations: 1.281 kB / 362.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000539/0.4213, allocations: 130.9 kB / 362.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4213, allocations: 7.25 kB / 362.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4213, allocations: 7.938 kB / 362.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4214, allocations: 1.281 kB / 362.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.4217, allocations: 32.05 kB / 362.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4217, allocations: 5.312 kB / 362.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.4219, allocations: 21.11 kB / 362.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.4219, allocations: 2.531 kB / 362.9 MB, free: 10.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001176/0.422, allocations: 125.7 kB / 363 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.4221, allocations: 8.062 kB / 363 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/0.4226, allocations: 139.8 kB / 363.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4227, allocations: 1.156 kB / 363.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4227, allocations: 0 / 363.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4227, allocations: 3.938 kB / 363.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.4231, allocations: 209.8 kB / 363.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4231, allocations: 4 kB / 363.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.4234, allocations: 25.86 kB / 363.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.4234, allocations: 1.062 kB / 363.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4234, allocations: 1.125 kB / 363.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.4235, allocations: 3.984 kB / 363.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4235, allocations: 0 / 363.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.4242, allocations: 284.8 kB / 363.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.4243, allocations: 87.62 kB / 363.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.4244, allocations: 5.312 kB / 363.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.4246, allocations: 18.33 kB / 363.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.4246, allocations: 3.438 kB / 363.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.4247, allocations: 1.344 kB / 363.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.907e-05/0.4248, allocations: 109.1 kB / 363.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4248, allocations: 0 / 363.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.4251, allocations: 22.16 kB / 363.9 MB, free: 9.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001344/0.4253, allocations: 94.75 kB / 364 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.4257, allocations: 96.36 kB / 364.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4258, allocations: 1.062 kB / 364.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.426, allocations: 44.91 kB / 364.2 MB, free: 9.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.4262, allocations: 15.77 kB / 364.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.4272, allocations: 413.8 kB / 364.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.4275, allocations: 0.7035 MB / 365.3 MB, free: 7.965 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.4276, allocations: 12.34 kB / 365.3 MB, free: 7.957 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4276, allocations: 0 / 365.3 MB, free: 7.957 MB / 298.7 MB Notification: Performance of Templates: time 0.003699/0.4313, allocations: 1.235 MB / 366.5 MB, free: 7.34 MB / 298.7 MB