Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadModel(PowerSystems): time 2.382/2.382, allocations: 232.9 MB / 248.1 MB, free: 11.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.264e-05, allocations: 4 kB / 304.4 MB, free: 2.941 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.383, allocations: 53.22 MB / 357.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.01044/0.3935, allocations: 5.187 MB / 362.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.4048, allocations: 3.827 MB / 366.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008826/0.4057, allocations: 39.75 kB / 366.6 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007173/0.4129, allocations: 1.516 MB / 368.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.4144, allocations: 263.1 kB / 368.4 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.4154, allocations: 215.6 kB / 368.6 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008998/0.4163, allocations: 331.6 kB / 368.9 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.4176, allocations: 444.8 kB / 369.4 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.4181, allocations: 219.3 kB / 369.6 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00075/0.4189, allocations: 251.2 kB / 369.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.4193, allocations: 63.89 kB / 369.9 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.4194, allocations: 23.94 kB / 369.9 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004507/0.4199, allocations: 223.4 kB / 370.1 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.4202, allocations: 56 kB / 370.2 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4214, allocations: 0.5532 MB / 370.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4214, allocations: 0 / 370.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4214, allocations: 0 / 370.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.4214, allocations: 4 kB / 370.7 MB, free: 2.379 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00268/0.4241, allocations: 0.7388 MB / 371.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.4242, allocations: 8.031 kB / 371.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.4253, allocations: 107 kB / 371.6 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.4274, allocations: 0.5133 MB / 372.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/0.4275, allocations: 36.94 kB / 372.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.4278, allocations: 51.89 kB / 372.2 MB, free: 0.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.4298, allocations: 0.6375 MB / 372.8 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.4299, allocations: 4 kB / 372.8 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.43, allocations: 19.98 kB / 372.9 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002953/0.4303, allocations: 44.97 kB / 372.9 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.4321, allocations: 495.5 kB / 373.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007082/0.4393, allocations: 2.535 MB / 375.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.4404, allocations: 323.5 kB / 376.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.638e-05/0.4404, allocations: 0 / 376.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.4405, allocations: 42.62 kB / 376.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.965e-06/0.4405, allocations: 0 / 376.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.005359/0.4459, allocations: 1.672 MB / 378 MB, free: 10.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.446, allocations: 110.8 kB / 378.1 MB, free: 10.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.4469, allocations: 373 kB / 378.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.447, allocations: 37.86 kB / 378.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.4474, allocations: 342.1 kB / 378.8 MB, free: 9.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.4476, allocations: 126.2 kB / 378.9 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.4476, allocations: 8 kB / 378.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4478, allocations: 326.8 kB / 379.2 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006269/0.4485, allocations: 165 kB / 379.4 MB, free: 9.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008169/0.4493, allocations: 304.2 kB / 379.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.4501, allocations: 213.5 kB / 379.9 MB, free: 8.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.4502, allocations: 8 kB / 379.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.003117/0.4533, allocations: 0.7848 MB / 380.7 MB, free: 7.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.4534, allocations: 8 kB / 380.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.4534, allocations: 4 kB / 380.7 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.4549, allocations: 205.8 kB / 380.9 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.4557, allocations: 83.77 kB / 381 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009473/0.4652, allocations: 3.963 MB / 385 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.4659, allocations: 19.98 kB / 385 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.466, allocations: 16.09 kB / 385 MB, free: 3.277 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000495/0.4665, allocations: 249.3 kB / 385.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.4666, allocations: 47.44 kB / 385.3 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.4683, allocations: 0.6423 MB / 385.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.4684, allocations: 4 kB / 385.9 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4684, allocations: 4.031 kB / 385.9 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.4684, allocations: 4 kB / 385.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.4715, allocations: 1.242 MB / 387.2 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.4715, allocations: 4 kB / 387.2 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000899/0.4724, allocations: 79.88 kB / 387.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003534/0.4728, allocations: 53.67 kB / 387.3 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.4729, allocations: 8 kB / 387.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.4757, allocations: 2.643 MB / 390 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4758, allocations: 4.281 kB / 390 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.478, allocations: 1.045 MB / 391 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.4783, allocations: 148.5 kB / 391.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.4784, allocations: 12 kB / 391.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.4789, allocations: 11.98 kB / 391.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.479, allocations: 35.86 kB / 391.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.4791, allocations: 19.98 kB / 391.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005038/0.4796, allocations: 287.1 kB / 391.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.535e-06/0.4796, allocations: 0 / 391.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008267/0.4804, allocations: 139.9 kB / 391.7 MB, free: 12.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.w_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002198/0.4807, allocations: 115.2 kB / 391.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.483, allocations: 0.7251 MB / 392.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.4831, allocations: 0 / 392.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009617/0.484, allocations: 417.3 kB / 392.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/0.485, allocations: 103.7 kB / 393 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.489, allocations: 1.858 MB / 394.9 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.4898, allocations: 0.9639 MB / 395.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.4901, allocations: 39.44 kB / 395.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4901, allocations: 0 / 395.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of Templates: time 0.02365/0.5137, allocations: 10.88 MB / 406.7 MB, free: 12.82 MB / 346.7 MB