Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadModel(PowerSystems): time 2.268/2.268, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.784e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3618, allocations: 53.22 MB / 357.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006282/0.3682, allocations: 3.788 MB / 361.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.3705, allocations: 0.875 MB / 362.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.3709, allocations: 19.69 kB / 362.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.3711, allocations: 42.17 kB / 362.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006014/0.3717, allocations: 151.4 kB / 362.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.372, allocations: 87.36 kB / 362.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.3724, allocations: 169.2 kB / 362.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.3726, allocations: 57.92 kB / 362.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.3729, allocations: 122.2 kB / 362.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.3733, allocations: 125.5 kB / 363 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.3733, allocations: 8.375 kB / 363 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.3734, allocations: 12.19 kB / 363 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3735, allocations: 69.5 kB / 363.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.3736, allocations: 24.34 kB / 363.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.374, allocations: 199.8 kB / 363.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.374, allocations: 0 / 363.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.374, allocations: 0.6875 kB / 363.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.374, allocations: 0 / 363.3 MB, free: 10.05 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001302/0.3754, allocations: 0.5269 MB / 363.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3754, allocations: 9.062 kB / 363.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.3755, allocations: 30.78 kB / 363.9 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.3763, allocations: 316.6 kB / 364.2 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.3764, allocations: 18.62 kB / 364.2 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.3766, allocations: 38.17 kB / 364.2 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.3773, allocations: 287.7 kB / 364.5 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3773, allocations: 1.344 kB / 364.5 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.3774, allocations: 10.25 kB / 364.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3774, allocations: 9.438 kB / 364.5 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.3779, allocations: 198.3 kB / 364.7 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.3803, allocations: 1.278 MB / 366 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.3807, allocations: 128.5 kB / 366.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3808, allocations: 2.062 kB / 366.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3808, allocations: 31.91 kB / 366.2 MB, free: 7.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.755e-06/0.3808, allocations: 3.938 kB / 366.2 MB, free: 7.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.001332/0.3822, allocations: 0.537 MB / 366.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.3823, allocations: 105.1 kB / 366.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.3826, allocations: 212.5 kB / 367 MB, free: 6.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.3826, allocations: 27.14 kB / 367 MB, free: 6.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3828, allocations: 253.3 kB / 367.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.3829, allocations: 40.92 kB / 367.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.3829, allocations: 5.312 kB / 367.3 MB, free: 6.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3831, allocations: 317.1 kB / 367.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3832, allocations: 44.94 kB / 367.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.3834, allocations: 128.3 kB / 367.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3836, allocations: 52.53 kB / 367.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3836, allocations: 1 kB / 367.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006447/0.3843, allocations: 232.5 kB / 368.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3843, allocations: 6.812 kB / 368.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3843, allocations: 3.719 kB / 368.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.3845, allocations: 32.03 kB / 368.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.3852, allocations: 65.16 kB / 368.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.3853, allocations: 8.219 kB / 368.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.3855, allocations: 8.344 kB / 368.2 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3855, allocations: 12.16 kB / 368.2 MB, free: 5.816 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002443/0.3858, allocations: 150 kB / 368.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.3859, allocations: 25.83 kB / 368.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.3863, allocations: 152.2 kB / 368.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3863, allocations: 2.625 kB / 368.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.3864, allocations: 1.656 kB / 368.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.3864, allocations: 5.359 kB / 368.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.3869, allocations: 287.5 kB / 368.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3869, allocations: 1.156 kB / 368.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.3873, allocations: 38.44 kB / 368.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3873, allocations: 2.281 kB / 368.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.3873, allocations: 1.75 kB / 368.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.3873, allocations: 5.234 kB / 368.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3873, allocations: 5.406 kB / 368.9 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.388, allocations: 401.6 kB / 369.3 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.3881, allocations: 99.77 kB / 369.4 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.3881, allocations: 14.36 kB / 369.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.3884, allocations: 1.094 kB / 369.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.3884, allocations: 16.33 kB / 369.4 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3885, allocations: 4.375 kB / 369.4 MB, free: 4.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.3887, allocations: 167.2 kB / 369.6 MB, free: 4.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3887, allocations: 0 / 369.6 MB, free: 4.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004892/0.3892, allocations: 46.69 kB / 369.6 MB, free: 4.664 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001364/0.3893, allocations: 101.4 kB / 369.7 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005226/0.3899, allocations: 220.3 kB / 369.9 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3899, allocations: 1 kB / 369.9 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.3901, allocations: 50.17 kB / 370 MB, free: 4.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.3907, allocations: 57.55 kB / 370 MB, free: 4.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3922, allocations: 0.7861 MB / 370.8 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.3927, allocations: 0.7796 MB / 371.6 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.3928, allocations: 19.44 kB / 371.6 MB, free: 2.875 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3928, allocations: 4 kB / 371.6 MB, free: 2.871 MB / 298.7 MB Notification: Performance of Templates: time 0.008431/0.4013, allocations: 3.412 MB / 375.1 MB, free: 15.46 MB / 314.7 MB