Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadModel(PowerSystems): time 2.324/2.324, allocations: 232.9 MB / 248.1 MB, free: 10.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.081e-05/3.075e-05, allocations: 0 / 304.4 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3567, allocations: 53.23 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005168/0.3619, allocations: 3.058 MB / 360.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.365, allocations: 1.34 MB / 362 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.3653, allocations: 11.59 kB / 362 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.3655, allocations: 37.75 kB / 362 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006687/0.3662, allocations: 156.7 kB / 362.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.3665, allocations: 86.73 kB / 362.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.3668, allocations: 112.8 kB / 362.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008501/0.3677, allocations: 315.5 kB / 362.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.368, allocations: 90.02 kB / 362.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.3682, allocations: 70.81 kB / 362.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.3688, allocations: 166.8 kB / 363 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.3689, allocations: 9.812 kB / 363 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.369, allocations: 78.61 kB / 363.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.3691, allocations: 19.84 kB / 363.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.3696, allocations: 250.5 kB / 363.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3696, allocations: 0 / 363.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3696, allocations: 0 / 363.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.3697, allocations: 5.312 kB / 363.4 MB, free: 10.04 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007829/0.3705, allocations: 475.5 kB / 363.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3705, allocations: 8.969 kB / 363.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.3719, allocations: 112.6 kB / 363.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.3724, allocations: 259 kB / 364.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3724, allocations: 13.72 kB / 364.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.3725, allocations: 20.17 kB / 364.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007931/0.3733, allocations: 316.4 kB / 364.5 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.3734, allocations: 9.266 kB / 364.5 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.3734, allocations: 5.531 kB / 364.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/0.3735, allocations: 23.52 kB / 364.6 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.3742, allocations: 299.2 kB / 364.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.3768, allocations: 1.297 MB / 366.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.3773, allocations: 204.5 kB / 366.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3774, allocations: 1.594 kB / 366.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3774, allocations: 39.94 kB / 366.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 3.247e-06/0.3774, allocations: 0 / 366.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004528/0.3779, allocations: 132.4 kB / 366.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.378, allocations: 86.56 kB / 366.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.3782, allocations: 188.1 kB / 366.8 MB, free: 7.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3783, allocations: 26.77 kB / 366.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3785, allocations: 230.8 kB / 367.1 MB, free: 6.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.3785, allocations: 29.16 kB / 367.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.3785, allocations: 5.094 kB / 367.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3787, allocations: 321.1 kB / 367.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3788, allocations: 44.36 kB / 367.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.379, allocations: 134.7 kB / 367.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3792, allocations: 63.2 kB / 367.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3792, allocations: 1.125 kB / 367.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004557/0.3797, allocations: 200.9 kB / 367.8 MB, free: 6.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3797, allocations: 7.375 kB / 367.8 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3797, allocations: 4.688 kB / 367.8 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3798, allocations: 8 kB / 367.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.3801, allocations: 48.44 kB / 367.9 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.3801, allocations: 12.59 kB / 367.9 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.3804, allocations: 27.64 kB / 367.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.3804, allocations: 9.469 kB / 368 MB, free: 6.234 MB / 298.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001993/0.3806, allocations: 155.7 kB / 368.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.3807, allocations: 15.66 kB / 368.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.381, allocations: 117 kB / 368.2 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.381, allocations: 2 kB / 368.2 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.381, allocations: 0 / 368.2 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3811, allocations: 8.984 kB / 368.2 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3822, allocations: 0.5717 MB / 368.8 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.3822, allocations: 2.031 kB / 368.8 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3823, allocations: 31.47 kB / 368.8 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3824, allocations: 3.844 kB / 368.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3824, allocations: 4.188 kB / 368.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.3824, allocations: 3.375 kB / 368.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.3824, allocations: 6.094 kB / 368.9 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.3829, allocations: 400.5 kB / 369.3 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.383, allocations: 100.6 kB / 369.4 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.3831, allocations: 8.281 kB / 369.4 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3833, allocations: 7.344 kB / 369.4 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.3833, allocations: 17.56 kB / 369.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.3834, allocations: 5.562 kB / 369.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002097/0.3836, allocations: 154.9 kB / 369.5 MB, free: 4.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3836, allocations: 0 / 369.5 MB, free: 4.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004873/0.3841, allocations: 56.69 kB / 369.6 MB, free: 4.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * 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 0.0001458/0.3842, allocations: 108.5 kB / 369.7 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.3846, allocations: 111.5 kB / 369.8 MB, free: 4.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3846, allocations: 0.875 kB / 369.8 MB, free: 4.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3848, allocations: 46.2 kB / 369.9 MB, free: 4.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3852, allocations: 34.02 kB / 369.9 MB, free: 4.562 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3863, allocations: 0.5582 MB / 370.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.3867, allocations: 0.7596 MB / 371.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.3868, allocations: 19.44 kB / 371.2 MB, free: 3.223 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3868, allocations: 0 / 371.2 MB, free: 3.223 MB / 298.7 MB Notification: Performance of Templates: time 0.00581/0.3926, allocations: 2.14 MB / 373.4 MB, free: 1.078 MB / 298.7 MB