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.155/2.155, allocations: 233 MB / 245.6 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.321e-05, allocations: 4 kB / 301.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/0.09261, allocations: 53.22 MB / 354.5 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/0.4973, allocations: 91.44 MB / 445.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.4977, allocations: 91.94 kB / 446 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05022/0.5479, allocations: 12.47 MB / 458.5 MB, free: 14.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.027e-06/0.548, allocations: 0 / 458.5 MB, free: 14.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.548, allocations: 8 kB / 458.5 MB, free: 14.07 MB / 394.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.001095/0.5491, allocations: 0.6132 MB / 459.1 MB, free: 13.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5492, allocations: 8.031 kB / 459.1 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.55, allocations: 91.38 kB / 459.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.5528, allocations: 0.8526 MB / 460.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.5529, allocations: 24.78 kB / 460.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.553, allocations: 32.34 kB / 460.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.5539, allocations: 464.6 kB / 460.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.554, allocations: 0 / 460.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/0.5541, allocations: 16 kB / 460.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.5541, allocations: 20.72 kB / 460.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.5548, allocations: 317.4 kB / 460.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.5577, allocations: 1.709 MB / 462.6 MB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.5581, allocations: 141.2 kB / 462.8 MB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.5583, allocations: 110.6 kB / 462.9 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.5584, allocations: 0 / 462.9 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.5584, allocations: 38.56 kB / 462.9 MB, free: 9.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.471e-06/0.5584, allocations: 0 / 462.9 MB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001551/0.56, allocations: 0.6772 MB / 463.6 MB, free: 8.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.5601, allocations: 81.06 kB / 463.7 MB, free: 8.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.5605, allocations: 271.9 kB / 463.9 MB, free: 8.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.5606, allocations: 29.7 kB / 464 MB, free: 8.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.5608, allocations: 313.7 kB / 464.3 MB, free: 7.953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/0.5609, allocations: 59.11 kB / 464.3 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.5609, allocations: 4 kB / 464.3 MB, free: 7.891 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5611, allocations: 322.8 kB / 464.6 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.5613, allocations: 92.28 kB / 464.7 MB, free: 7.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.5616, allocations: 181.1 kB / 464.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.5619, allocations: 134.3 kB / 465 MB, free: 7.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-06/0.5619, allocations: 0 / 465 MB, free: 7.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00111/0.563, allocations: 424.9 kB / 465.5 MB, free: 6.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5631, allocations: 8 kB / 465.5 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007559/0.5639, allocations: 289 kB / 465.7 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.5645, allocations: 125.5 kB / 465.9 MB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.5648, allocations: 59.91 kB / 465.9 MB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/0.5682, allocations: 2.149 MB / 468.1 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.5685, allocations: 12 kB / 468.1 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.5686, allocations: 16 kB / 468.1 MB, free: 3.918 MB / 394.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.0001325/0.5687, allocations: 124.8 kB / 468.2 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/0.5688, allocations: 27.62 kB / 468.3 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.5694, allocations: 243.4 kB / 468.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.704e-06/0.5695, allocations: 7.938 kB / 468.5 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.5695, allocations: 8 kB / 468.5 MB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.873e-06/0.5695, allocations: 0 / 468.5 MB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.571, allocations: 0.7161 MB / 469.2 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-06/0.5711, allocations: 0 / 469.2 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.5714, allocations: 43.92 kB / 469.3 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.5715, allocations: 32.89 kB / 469.3 MB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.5716, allocations: 8 kB / 469.3 MB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.5732, allocations: 1.478 MB / 470.8 MB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.5732, allocations: 3.938 kB / 470.8 MB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.5739, allocations: 446.5 kB / 471.2 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.5741, allocations: 112.7 kB / 471.3 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.5741, allocations: 4 kB / 471.3 MB, free: 412 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.5744, allocations: 11.92 kB / 471.3 MB, free: 400 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.5745, allocations: 23.92 kB / 471.4 MB, free: 376 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.5745, allocations: 4 kB / 471.4 MB, free: 372 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002959/0.5748, allocations: 210.2 kB / 471.6 MB, free: 164 kB / 394.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.5748, allocations: 0 / 471.6 MB, free: 164 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006669/0.5755, allocations: 99.98 kB / 471.7 MB, free: 64 kB / 394.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.0002399/0.5757, allocations: 124.5 kB / 471.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008274/0.5766, allocations: 380.2 kB / 472.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5766, allocations: 416 / 472.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.577, allocations: 226.5 kB / 472.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.5775, allocations: 49.84 kB / 472.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.579, allocations: 0.7152 MB / 473.2 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.5796, allocations: 0.8421 MB / 474 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.5797, allocations: 23.44 kB / 474 MB, free: 13.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.527e-06/0.5797, allocations: 4 kB / 474 MB, free: 13.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01019/0.5899, allocations: 5.614 MB / 479.6 MB, free: 8 MB / 410.7 MB