Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadModel(PowerSystems): time 2.289/2.289, allocations: 232.9 MB / 248.1 MB, free: 10.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.734e-05, allocations: 0 / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3432, allocations: 53.22 MB / 357.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006218/0.3495, allocations: 3.935 MB / 361.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3519, allocations: 0.9832 MB / 362.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.3522, allocations: 27.81 kB / 362.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.3524, allocations: 51.66 kB / 362.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006112/0.3531, allocations: 171.4 kB / 362.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.3534, allocations: 103.8 kB / 362.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.3537, allocations: 171.6 kB / 363 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.354, allocations: 64.39 kB / 363.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.3543, allocations: 127.6 kB / 363.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.3547, allocations: 127.6 kB / 363.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.3547, allocations: 8 kB / 363.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.3548, allocations: 8 kB / 363.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.3549, allocations: 67.8 kB / 363.4 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.355, allocations: 24 kB / 363.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.3553, allocations: 203.5 kB / 363.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.3554, allocations: 0 / 363.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.48e-06/0.3554, allocations: 0 / 363.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3554, allocations: 3.938 kB / 363.6 MB, free: 9.41 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.001067/0.3565, allocations: 0.5272 MB / 364.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3565, allocations: 12.03 kB / 364.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.65e-05/0.3566, allocations: 27.62 kB / 364.2 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.3572, allocations: 309.8 kB / 364.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.3573, allocations: 16.44 kB / 364.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.3574, allocations: 28 kB / 364.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.3581, allocations: 290.7 kB / 364.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.3581, allocations: 3.938 kB / 364.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.3582, allocations: 8 kB / 364.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.3582, allocations: 8 kB / 364.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.3587, allocations: 177 kB / 365 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.3606, allocations: 1.232 MB / 366.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.361, allocations: 109.1 kB / 366.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3611, allocations: 4 kB / 366.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3611, allocations: 34.81 kB / 366.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 4.659e-06/0.3611, allocations: 0 / 366.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.001118/0.3623, allocations: 492.3 kB / 366.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3623, allocations: 81.11 kB / 367 MB, free: 5.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.3627, allocations: 221.9 kB / 367.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3627, allocations: 25.7 kB / 367.2 MB, free: 5.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.3629, allocations: 246.1 kB / 367.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.3629, allocations: 47.44 kB / 367.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.363, allocations: 4 kB / 367.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3631, allocations: 318.8 kB / 367.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3632, allocations: 31.98 kB / 367.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.3634, allocations: 139.4 kB / 368 MB, free: 4.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3636, allocations: 59.92 kB / 368 MB, free: 4.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3636, allocations: 0.75 kB / 368 MB, free: 4.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004425/0.3641, allocations: 189.2 kB / 368.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3641, allocations: 8.094 kB / 368.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3641, allocations: 7.938 kB / 368.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3641, allocations: 7.953 kB / 368.2 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.3645, allocations: 47.92 kB / 368.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.3645, allocations: 11.92 kB / 368.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.3647, allocations: 8.438 kB / 368.3 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.3647, allocations: 12 kB / 368.3 MB, free: 4.344 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 (24): * Single equations (assignments): 24 * 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.0001989/0.3649, allocations: 159.9 kB / 368.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.365, allocations: 19.72 kB / 368.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.3653, allocations: 135.3 kB / 368.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.3654, allocations: 3.953 kB / 368.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3654, allocations: 0 / 368.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3654, allocations: 7.984 kB / 368.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008/0.3662, allocations: 475.2 kB / 369.1 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3662, allocations: 0 / 369.1 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.3665, allocations: 23.98 kB / 369.1 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.3665, allocations: 3.953 kB / 369.1 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3665, allocations: 8 kB / 369.1 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3665, allocations: 3.938 kB / 369.1 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3665, allocations: 0 / 369.1 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.367, allocations: 300.4 kB / 369.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.3671, allocations: 100.8 kB / 369.5 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.3672, allocations: 0 / 369.5 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.3674, allocations: 8 kB / 369.5 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3674, allocations: 7.984 kB / 369.5 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3674, allocations: 8 kB / 369.6 MB, free: 2.977 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.3677, allocations: 178 kB / 369.7 MB, free: 2.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3677, allocations: 3.938 kB / 369.7 MB, free: 2.801 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004309/0.3681, allocations: 44 kB / 369.8 MB, free: 2.758 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0001288/0.3683, allocations: 99.25 kB / 369.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.3686, allocations: 112.6 kB / 370 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3686, allocations: 4 kB / 370 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.3688, allocations: 47.92 kB / 370 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.3693, allocations: 58.39 kB / 370.1 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3707, allocations: 0.7054 MB / 370.8 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.3711, allocations: 0.7833 MB / 371.6 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.3712, allocations: 19.44 kB / 371.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3712, allocations: 0 / 371.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of Templates: time 0.007222/0.3784, allocations: 2.879 MB / 374.5 MB, free: 13.99 MB / 314.7 MB