Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadModel(PowerSystems): time 2.281/2.281, allocations: 232.9 MB / 248.1 MB, free: 10.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.531e-05, allocations: 4 kB / 304.4 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3821, allocations: 53.22 MB / 357.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.008376/0.3905, allocations: 5.044 MB / 362.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008399/0.399, allocations: 3.667 MB / 366.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007485/0.3998, allocations: 36.94 kB / 366.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005456/0.4053, allocations: 1.51 MB / 367.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.4066, allocations: 246 kB / 368.1 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.4074, allocations: 177.4 kB / 368.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007131/0.4081, allocations: 349.5 kB / 368.6 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.4092, allocations: 0.5667 MB / 369.2 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.4097, allocations: 209 kB / 369.4 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005149/0.4102, allocations: 231.6 kB / 369.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.4104, allocations: 25.94 kB / 369.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.584e-05/0.4105, allocations: 21.28 kB / 369.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.4108, allocations: 193.6 kB / 369.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.411, allocations: 53.69 kB / 369.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009675/0.4119, allocations: 0.6253 MB / 370.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.412, allocations: 4 kB / 370.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.412, allocations: 0 / 370.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.412, allocations: 0 / 370.5 MB, free: 4.453 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.001851/0.4139, allocations: 0.7153 MB / 371.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4139, allocations: 8.031 kB / 371.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/0.4143, allocations: 67.2 kB / 371.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.4158, allocations: 0.5289 MB / 371.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.4158, allocations: 33 kB / 371.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.416, allocations: 43.98 kB / 371.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.4174, allocations: 0.6258 MB / 372.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.4175, allocations: 7.906 kB / 372.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.4176, allocations: 19.98 kB / 372.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.4178, allocations: 52.91 kB / 372.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.419, allocations: 467.6 kB / 373.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004755/0.4238, allocations: 2.518 MB / 375.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.4245, allocations: 281.2 kB / 375.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.4245, allocations: 8.047 kB / 375.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.4246, allocations: 42.56 kB / 375.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.636e-06/0.4246, allocations: 0 / 375.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.005299/0.4299, allocations: 1.859 MB / 377.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.43, allocations: 89.09 kB / 377.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.4307, allocations: 357.1 kB / 378.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.4307, allocations: 33.7 kB / 378.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.431, allocations: 338 kB / 378.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.4312, allocations: 122.3 kB / 378.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.4313, allocations: 8 kB / 378.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4314, allocations: 330.8 kB / 379 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.4318, allocations: 128.8 kB / 379.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.4323, allocations: 278.8 kB / 379.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.4328, allocations: 184.4 kB / 379.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4328, allocations: 0 / 379.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001724/0.4345, allocations: 0.6521 MB / 380.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.4346, allocations: 8.938 kB / 380.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4346, allocations: 4 kB / 380.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007159/0.4353, allocations: 153.9 kB / 380.4 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.4359, allocations: 79.84 kB / 380.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.4409, allocations: 3.459 MB / 383.9 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.4415, allocations: 23.92 kB / 384 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.4415, allocations: 16.28 kB / 384 MB, free: 6.109 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (43): * Single equations (assignments): 41 * 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: 2 {(2,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004721/0.442, allocations: 249.4 kB / 384.2 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4421, allocations: 47.42 kB / 384.3 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.4437, allocations: 0.573 MB / 384.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.4437, allocations: 11.94 kB / 384.9 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001181/0.4449, allocations: 488.4 kB / 385.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.4449, allocations: 3.984 kB / 385.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.4473, allocations: 1.009 MB / 386.3 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.4473, allocations: 4 kB / 386.3 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.4477, allocations: 48 kB / 386.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/0.4482, allocations: 88.78 kB / 386.5 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.4482, allocations: 4 kB / 386.5 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/0.4512, allocations: 1.913 MB / 388.4 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.4513, allocations: 3.938 kB / 388.4 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.4528, allocations: 0.6897 MB / 389.1 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.4531, allocations: 140.5 kB / 389.2 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4532, allocations: 12 kB / 389.2 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.4535, allocations: 7.984 kB / 389.2 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.4536, allocations: 27.91 kB / 389.3 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/0.4537, allocations: 8 kB / 389.3 MB, free: 464 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005186/0.4542, allocations: 303.2 kB / 389.6 MB, free: 160 kB / 314.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4542, allocations: 0 / 389.6 MB, free: 160 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007304/0.4549, allocations: 124 kB / 389.7 MB, free: 36 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.motor.phi_el,asm.motor.w_el) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001882/0.4551, allocations: 99.3 kB / 389.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.4567, allocations: 0.6113 MB / 390.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4567, allocations: 0 / 390.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.4574, allocations: 311.4 kB / 390.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.4583, allocations: 101.9 kB / 390.8 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.4612, allocations: 1.426 MB / 392.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.4619, allocations: 0.9323 MB / 393.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.462, allocations: 31.44 kB / 393.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4621, allocations: 0 / 393.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of Templates: time 0.01899/0.4811, allocations: 9.562 MB / 402.8 MB, free: 2.859 MB / 330.7 MB