Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadModel(PowerSystems): time 2.32/2.32, allocations: 232.9 MB / 248.1 MB, free: 10.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.49e-05, allocations: 4 kB / 304.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 53.22 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.009207/0.4033, allocations: 5.48 MB / 363.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004038/0.4074, allocations: 1.481 MB / 364.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.4084, allocations: 40 kB / 364.6 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.4089, allocations: 117.2 kB / 364.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.4105, allocations: 314.8 kB / 365 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.4113, allocations: 176.5 kB / 365.2 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009073/0.4122, allocations: 313.5 kB / 365.5 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.4126, allocations: 129.5 kB / 365.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00062/0.4132, allocations: 227.7 kB / 365.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007672/0.414, allocations: 259.4 kB / 366.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.4141, allocations: 17.16 kB / 366.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.783e-05/0.4143, allocations: 17 kB / 366.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.4145, allocations: 160.9 kB / 366.3 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.4147, allocations: 48.72 kB / 366.3 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.4154, allocations: 423.9 kB / 366.7 MB, free: 7.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4154, allocations: 1.5 kB / 366.7 MB, free: 7.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.4154, allocations: 3.938 kB / 366.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.4155, allocations: 0 / 366.7 MB, free: 7.496 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001967/0.4175, allocations: 0.7512 MB / 367.5 MB, free: 6.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4175, allocations: 9.531 kB / 367.5 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.4178, allocations: 60.25 kB / 367.6 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.4191, allocations: 471.1 kB / 368 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.4192, allocations: 29.66 kB / 368 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.4193, allocations: 42.94 kB / 368.1 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.4207, allocations: 0.5358 MB / 368.6 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.4208, allocations: 0.9688 kB / 368.6 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.4208, allocations: 17.34 kB / 368.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.4209, allocations: 17.75 kB / 368.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.422, allocations: 388.9 kB / 369 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/0.4261, allocations: 1.947 MB / 371 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009891/0.4271, allocations: 337.3 kB / 371.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.4272, allocations: 4.062 kB / 371.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005728/0.4278, allocations: 274.1 kB / 371.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 2.735e-06/0.4278, allocations: 0 / 371.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.003466/0.4313, allocations: 1.452 MB / 373 MB, free: 1.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.4315, allocations: 174.1 kB / 373.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/0.4321, allocations: 337 kB / 373.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.4321, allocations: 33.7 kB / 373.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.4325, allocations: 342 kB / 373.9 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.4326, allocations: 118.4 kB / 374 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.4327, allocations: 12.03 kB / 374 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4329, allocations: 334.8 kB / 374.4 MB, free: 288 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.4332, allocations: 121 kB / 374.5 MB, free: 168 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.4338, allocations: 278.2 kB / 374.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.4343, allocations: 191.2 kB / 374.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4343, allocations: 0 / 374.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001413/0.4357, allocations: 0.594 MB / 375.5 MB, free: 15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.4358, allocations: 34.64 kB / 375.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4358, allocations: 4 kB / 375.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.436, allocations: 33.47 kB / 375.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.4368, allocations: 103.8 kB / 375.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.4382, allocations: 1.389 MB / 377.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.4389, allocations: 19.98 kB / 377.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/0.439, allocations: 31.98 kB / 377.1 MB, free: 13.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.000457/0.4395, allocations: 251.1 kB / 377.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4396, allocations: 43.44 kB / 377.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.4409, allocations: 0.548 MB / 378 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4409, allocations: 4 kB / 378 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.4409, allocations: 12 kB / 378 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4409, allocations: 3.984 kB / 378 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.4432, allocations: 1.065 MB / 379.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4432, allocations: 0 / 379.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.4438, allocations: 60 kB / 379.1 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.4439, allocations: 28.78 kB / 379.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.444, allocations: 8 kB / 379.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.4453, allocations: 1.385 MB / 380.5 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4454, allocations: 3.984 kB / 380.5 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.4472, allocations: 0.8282 MB / 381.4 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.4475, allocations: 144.5 kB / 381.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4476, allocations: 12 kB / 381.5 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.448, allocations: 15.98 kB / 381.5 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.4482, allocations: 23.97 kB / 381.6 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-05/0.4483, allocations: 32.03 kB / 381.6 MB, free: 8.434 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004602/0.4487, allocations: 271.1 kB / 381.9 MB, free: 8.172 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4487, allocations: 0 / 381.9 MB, free: 8.172 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007568/0.4495, allocations: 104 kB / 382 MB, free: 8.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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.0001894/0.4497, allocations: 111.1 kB / 382.1 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.451, allocations: 0.5133 MB / 382.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.451, allocations: 3.938 kB / 382.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.4517, allocations: 374 kB / 383 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008376/0.4526, allocations: 90.7 kB / 383 MB, free: 6.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.4552, allocations: 1.229 MB / 384.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.4559, allocations: 0.8976 MB / 385.2 MB, free: 4.734 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.4561, allocations: 43.42 kB / 385.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4562, allocations: 7.938 kB / 385.2 MB, free: 4.684 MB / 314.7 MB Notification: Performance of Templates: time 0.0253/0.4815, allocations: 7.556 MB / 392.8 MB, free: 13.14 MB / 330.7 MB