Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadModel(PowerSystems): time 2.483/2.483, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.261e-05, allocations: 4 kB / 304.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3655, allocations: 53.22 MB / 357.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005527/0.3711, allocations: 3.208 MB / 360.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.3747, allocations: 1.499 MB / 362.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.3751, allocations: 12.72 kB / 362.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.3755, allocations: 47.42 kB / 362.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006415/0.3761, allocations: 147.9 kB / 362.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.3767, allocations: 118 kB / 362.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.3771, allocations: 217.7 kB / 362.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.378, allocations: 336.2 kB / 363.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.3785, allocations: 121.1 kB / 363.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.3787, allocations: 95.36 kB / 363.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00065/0.3794, allocations: 161.6 kB / 363.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.3795, allocations: 19.97 kB / 363.5 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.3796, allocations: 94.23 kB / 363.6 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.3797, allocations: 22.41 kB / 363.6 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.3805, allocations: 396.8 kB / 364 MB, free: 9.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3805, allocations: 0 / 364 MB, free: 9.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3805, allocations: 0.875 kB / 364 MB, free: 9.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3806, allocations: 0 / 364 MB, free: 9.582 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00107/0.3816, allocations: 0.5997 MB / 364.6 MB, free: 8.996 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3817, allocations: 9.969 kB / 364.6 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.3829, allocations: 95.55 kB / 364.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/0.3837, allocations: 361.6 kB / 365.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.3837, allocations: 12.41 kB / 365.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.3838, allocations: 17.25 kB / 365.1 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009413/0.3848, allocations: 360.6 kB / 365.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3848, allocations: 9.266 kB / 365.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.3849, allocations: 6.719 kB / 365.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/0.3849, allocations: 15.64 kB / 365.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.386, allocations: 408 kB / 365.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.3892, allocations: 1.594 MB / 367.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.3904, allocations: 345.5 kB / 367.8 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/0.3905, allocations: 10.28 kB / 367.8 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004832/0.391, allocations: 194.1 kB / 368 MB, free: 6.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 3.206e-06/0.391, allocations: 0 / 368 MB, free: 6.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001241/0.3922, allocations: 399.2 kB / 368.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.3923, allocations: 135.5 kB / 368.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.3928, allocations: 259.1 kB / 368.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.3929, allocations: 36.42 kB / 368.8 MB, free: 5.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3931, allocations: 224.8 kB / 369.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3932, allocations: 84.97 kB / 369.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.3932, allocations: 5.906 kB / 369.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3934, allocations: 326.3 kB / 369.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.3937, allocations: 107.9 kB / 369.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.3942, allocations: 210.2 kB / 369.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.3946, allocations: 177.6 kB / 370 MB, free: 4.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.3946, allocations: 3.953 kB / 370 MB, free: 4.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001084/0.3957, allocations: 430.8 kB / 370.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.3958, allocations: 34.02 kB / 370.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3958, allocations: 8 kB / 370.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.3958, allocations: 4 kB / 370.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.3963, allocations: 67.91 kB / 370.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.3963, allocations: 11.97 kB / 370.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.3966, allocations: 27.69 kB / 370.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.3967, allocations: 12 kB / 370.5 MB, free: 4.168 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.city.data.nextTimeEvent,city.data.nextTimeEvent,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEventScaled,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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.0003107/0.397, allocations: 181.5 kB / 370.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.3971, allocations: 39.56 kB / 370.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/0.3981, allocations: 336.7 kB / 371.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3981, allocations: 4 kB / 371.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3981, allocations: 0 / 371.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3982, allocations: 0 / 371.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.3998, allocations: 0.7701 MB / 371.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3999, allocations: 3.984 kB / 371.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.4002, allocations: 43.92 kB / 371.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.4002, allocations: 0 / 371.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.4003, allocations: 15.98 kB / 371.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.4003, allocations: 4 kB / 371.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4003, allocations: 0 / 371.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009215/0.4012, allocations: 452.1 kB / 372.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.4014, allocations: 144.6 kB / 372.5 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.4016, allocations: 12 kB / 372.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.4018, allocations: 4 kB / 372.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.4019, allocations: 23.92 kB / 372.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.4019, allocations: 12 kB / 372.6 MB, free: 2.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003366/0.4023, allocations: 205.9 kB / 372.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4023, allocations: 0 / 372.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005855/0.4029, allocations: 91.83 kB / 372.8 MB, free: 1.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001284/0.4042, allocations: 456.8 kB / 373.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008657/0.405, allocations: 355.5 kB / 373.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4051, allocations: 0 / 373.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.4054, allocations: 127.5 kB / 373.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.4059, allocations: 44.86 kB / 373.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.4075, allocations: 0.7195 MB / 374.5 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.408, allocations: 0.8051 MB / 375.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.4082, allocations: 35.42 kB / 375.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4082, allocations: 0 / 375.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.0114/0.4196, allocations: 4.672 MB / 380 MB, free: 10.54 MB / 314.7 MB