Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadModel(PowerSystems): time 2.466/2.466, allocations: 232.9 MB / 248.1 MB, free: 10.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.983e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3693, allocations: 53.22 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007244/0.3766, allocations: 4.376 MB / 362 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003565/0.3803, allocations: 1.324 MB / 363.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000564/0.3809, allocations: 27.97 kB / 363.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.3813, allocations: 90.64 kB / 363.4 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009943/0.3823, allocations: 202.9 kB / 363.6 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007058/0.3831, allocations: 156.8 kB / 363.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.3836, allocations: 196.4 kB / 363.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.3848, allocations: 0.513 MB / 364.4 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.3853, allocations: 161.2 kB / 364.6 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.3858, allocations: 162.5 kB / 364.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.3862, allocations: 75.39 kB / 364.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.3863, allocations: 12.38 kB / 364.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.3865, allocations: 152 kB / 365 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.3866, allocations: 39.69 kB / 365 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.3873, allocations: 389 kB / 365.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3873, allocations: 3.938 kB / 365.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3873, allocations: 0 / 365.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.3874, allocations: 1.062 kB / 365.4 MB, free: 8.469 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001285/0.3887, allocations: 0.5905 MB / 366 MB, free: 7.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3887, allocations: 8.875 kB / 366 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009521/0.3897, allocations: 91.75 kB / 366.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3908, allocations: 378.7 kB / 366.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.3908, allocations: 30.52 kB / 366.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.3911, allocations: 47.59 kB / 366.6 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.3922, allocations: 464.9 kB / 367 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.3923, allocations: 0.9375 kB / 367 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.743e-05/0.3923, allocations: 19.45 kB / 367 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/0.3925, allocations: 28.89 kB / 367.1 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008969/0.3934, allocations: 327 kB / 367.4 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.397, allocations: 1.71 MB / 369.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.3975, allocations: 151.9 kB / 369.2 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3975, allocations: 1.281 kB / 369.2 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.3976, allocations: 36.47 kB / 369.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.865e-06/0.3976, allocations: 0 / 369.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.002402/0.4, allocations: 0.8654 MB / 370.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.4001, allocations: 81.11 kB / 370.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.4006, allocations: 267.7 kB / 370.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.4007, allocations: 25.7 kB / 370.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.4009, allocations: 298 kB / 370.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.4011, allocations: 75.08 kB / 370.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.4011, allocations: 8 kB / 370.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4013, allocations: 322.8 kB / 371.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.4015, allocations: 84.23 kB / 371.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.4019, allocations: 197.3 kB / 371.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.4023, allocations: 131.8 kB / 371.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4023, allocations: 0 / 371.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001465/0.4038, allocations: 432.1 kB / 372 MB, free: 2.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.4038, allocations: 8 kB / 372 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009963/0.4048, allocations: 292.4 kB / 372.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007727/0.4056, allocations: 124.9 kB / 372.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.406, allocations: 51.91 kB / 372.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.4105, allocations: 2.296 MB / 374.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.4109, allocations: 15.91 kB / 374.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.4109, allocations: 12.25 kB / 374.8 MB, free: 15.71 MB / 314.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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.4113, allocations: 189.5 kB / 375 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.4114, allocations: 31.72 kB / 375 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/0.4121, allocations: 249.3 kB / 375.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.4121, allocations: 8 kB / 375.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4121, allocations: 7.938 kB / 375.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4121, allocations: 3.984 kB / 375.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.414, allocations: 0.7195 MB / 376 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.414, allocations: 0 / 376 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.4144, allocations: 40.05 kB / 376 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.4146, allocations: 28.83 kB / 376.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.4146, allocations: 8 kB / 376.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.4163, allocations: 1.489 MB / 377.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.4164, allocations: 3.938 kB / 377.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.4173, allocations: 464.5 kB / 378 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.4174, allocations: 104.7 kB / 378.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.4175, allocations: 12.03 kB / 378.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.4177, allocations: 7.938 kB / 378.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.4178, allocations: 23.92 kB / 378.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.4179, allocations: 7.984 kB / 378.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003503/0.4182, allocations: 211.1 kB / 378.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4182, allocations: 0 / 378.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006459/0.4189, allocations: 88 kB / 378.5 MB, free: 11.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * 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): 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 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001633/0.4191, allocations: 104.2 kB / 378.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.4201, allocations: 393.5 kB / 379 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4201, allocations: 0 / 379 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.4206, allocations: 228.5 kB / 379.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.4212, allocations: 57.02 kB / 379.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.4235, allocations: 1.118 MB / 380.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.4241, allocations: 0.8536 MB / 381.2 MB, free: 8.914 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4242, allocations: 27.44 kB / 381.2 MB, free: 8.887 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4242, allocations: 0 / 381.2 MB, free: 8.887 MB / 314.7 MB Notification: Performance of Templates: time 0.01233/0.4365, allocations: 5.523 MB / 386.8 MB, free: 3.355 MB / 314.7 MB