Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadModel(PowerSystems): time 2.288/2.288, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.126e-05, allocations: 8 kB / 304.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3619, allocations: 53.21 MB / 357.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.02193/0.3839, allocations: 3.06 MB / 360.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007414/0.3914, allocations: 1.291 MB / 361.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.3917, allocations: 11.62 kB / 361.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.3919, allocations: 37.91 kB / 362 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007658/0.3927, allocations: 152.8 kB / 362.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.3931, allocations: 86.25 kB / 362.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.3934, allocations: 104.5 kB / 362.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.3945, allocations: 323.5 kB / 362.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.3949, allocations: 89.3 kB / 362.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.3951, allocations: 65.14 kB / 362.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006717/0.3958, allocations: 152.9 kB / 362.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.3959, allocations: 10 kB / 362.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.3961, allocations: 85.33 kB / 363 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.172e-05/0.3962, allocations: 18.31 kB / 363 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.4135, allocations: 241.8 kB / 363.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.4136, allocations: 4 kB / 363.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4136, allocations: 3.938 kB / 363.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.4136, allocations: 0 / 363.3 MB, free: 10.1 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001029/0.4147, allocations: 463.1 kB / 363.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4147, allocations: 9.844 kB / 363.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008657/0.4234, allocations: 98.64 kB / 363.8 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/0.424, allocations: 260.9 kB / 364.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.4241, allocations: 14.33 kB / 364.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.702e-05/0.4242, allocations: 19.72 kB / 364.1 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.4252, allocations: 309.7 kB / 364.4 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.4252, allocations: 5.047 kB / 364.4 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.4253, allocations: 14.14 kB / 364.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.4254, allocations: 16.17 kB / 364.5 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.4263, allocations: 294.6 kB / 364.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006232/0.4326, allocations: 1.291 MB / 366 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.4343, allocations: 210.9 kB / 366.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.4344, allocations: 5.859 kB / 366.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.4345, allocations: 36.56 kB / 366.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 5.019e-06/0.4345, allocations: 0 / 366.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.002531/0.4371, allocations: 437.7 kB / 366.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.4372, allocations: 78.23 kB / 366.8 MB, free: 7.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.4377, allocations: 177.3 kB / 367 MB, free: 7.125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.4377, allocations: 30.86 kB / 367 MB, free: 7.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.438, allocations: 215.6 kB / 367.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.762e-05/0.4381, allocations: 53.69 kB / 367.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.4381, allocations: 5.438 kB / 367.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.4383, allocations: 324.8 kB / 367.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.4386, allocations: 56.19 kB / 367.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.439, allocations: 144.4 kB / 367.8 MB, free: 6.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.4393, allocations: 80.56 kB / 367.9 MB, free: 6.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4394, allocations: 1 kB / 367.9 MB, free: 6.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001207/0.4406, allocations: 252.2 kB / 368.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.4407, allocations: 10.91 kB / 368.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.4407, allocations: 4.188 kB / 368.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005142/0.4412, allocations: 42.31 kB / 368.2 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.4417, allocations: 44.81 kB / 368.2 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.4443, allocations: 1.347 MB / 369.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.4448, allocations: 12.55 kB / 369.6 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.4449, allocations: 13.3 kB / 369.6 MB, free: 4.73 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): 23 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003573/0.4453, allocations: 157.1 kB / 369.7 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.4454, allocations: 19.11 kB / 369.7 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/0.4464, allocations: 192.1 kB / 369.9 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.4464, allocations: 5.828 kB / 369.9 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.4465, allocations: 5.578 kB / 369.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4465, allocations: 0 / 369.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.4486, allocations: 0.5633 MB / 370.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.4486, allocations: 1.656 kB / 370.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.4489, allocations: 27.17 kB / 370.5 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003618/0.4493, allocations: 32.23 kB / 370.6 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.4494, allocations: 10.47 kB / 370.6 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.4517, allocations: 1.323 MB / 371.9 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.4518, allocations: 0 / 371.9 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.4528, allocations: 346.4 kB / 372.2 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.453, allocations: 96.84 kB / 372.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/0.4531, allocations: 8 kB / 372.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.4534, allocations: 0 / 372.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.4535, allocations: 15.98 kB / 372.4 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.4535, allocations: 7.953 kB / 372.4 MB, free: 1.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002797/0.4538, allocations: 139.2 kB / 372.5 MB, free: 1.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.4539, allocations: 0 / 372.5 MB, free: 1.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008757/0.4547, allocations: 52 kB / 372.6 MB, free: 1.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.455, allocations: 103.2 kB / 372.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.4562, allocations: 275.8 kB / 372.9 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4562, allocations: 3.938 kB / 372.9 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.4568, allocations: 186.6 kB / 373.1 MB, free: 1.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.4574, allocations: 28.17 kB / 373.1 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.4593, allocations: 0.5477 MB / 373.7 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.46, allocations: 0.7637 MB / 374.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.4602, allocations: 23.42 kB / 374.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.473e-06/0.4602, allocations: 4 kB / 374.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of Templates: time 0.01213/0.4723, allocations: 3.051 MB / 377.5 MB, free: 12.69 MB / 314.7 MB