Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadModel(PowerSystems): time 2.257/2.257, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.575e-05, allocations: 7.938 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09217, allocations: 53.23 MB / 355.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4656, allocations: 94.26 MB / 449.7 MB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.4659, allocations: 87.95 kB / 449.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04612/0.512, allocations: 11.35 MB / 461.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.197e-06/0.5121, allocations: 0 / 461.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.461e-05/0.5122, allocations: 15.94 kB / 461.2 MB, free: 11.8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001447/0.5136, allocations: 0.6138 MB / 461.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.5137, allocations: 12.03 kB / 461.8 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.5139, allocations: 51.38 kB / 461.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.5157, allocations: 0.5493 MB / 462.4 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.5158, allocations: 54.48 kB / 462.4 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.952e-05/0.516, allocations: 36.52 kB / 462.5 MB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008932/0.5169, allocations: 425.4 kB / 462.9 MB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.5169, allocations: 0 / 462.9 MB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.517, allocations: 24 kB / 462.9 MB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.517, allocations: 8 kB / 462.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.5176, allocations: 244.9 kB / 463.2 MB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.5208, allocations: 1.866 MB / 465 MB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.5213, allocations: 167.7 kB / 465.2 MB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.5214, allocations: 71.14 kB / 465.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.5215, allocations: 11.92 kB / 465.3 MB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.5215, allocations: 43.42 kB / 465.3 MB, free: 7.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 3.635e-06/0.5215, allocations: 0 / 465.3 MB, free: 7.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001894/0.5234, allocations: 0.8361 MB / 466.1 MB, free: 6.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.5236, allocations: 106.8 kB / 466.2 MB, free: 6.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.524, allocations: 274.6 kB / 466.5 MB, free: 6.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.5241, allocations: 29.7 kB / 466.5 MB, free: 5.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.5243, allocations: 247.5 kB / 466.8 MB, free: 5.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.5244, allocations: 71 kB / 466.9 MB, free: 5.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.5244, allocations: 8 kB / 466.9 MB, free: 5.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.5246, allocations: 338.8 kB / 467.2 MB, free: 5.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.5248, allocations: 73.14 kB / 467.3 MB, free: 5.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.5251, allocations: 200.2 kB / 467.5 MB, free: 4.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.5254, allocations: 96.89 kB / 467.6 MB, free: 4.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.165e-06/0.5254, allocations: 4 kB / 467.6 MB, free: 4.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007164/0.5261, allocations: 307.7 kB / 467.9 MB, free: 4.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.5262, allocations: 8 kB / 467.9 MB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5262, allocations: 7.938 kB / 467.9 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.5262, allocations: 8.562 kB / 467.9 MB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.5267, allocations: 79.91 kB / 468 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.5267, allocations: 11.98 kB / 468 MB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.527, allocations: 15.91 kB / 468 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.5271, allocations: 23.92 kB / 468 MB, free: 4.441 MB / 394.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 (41): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.5272, allocations: 125.5 kB / 468.1 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.5274, allocations: 31.62 kB / 468.2 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.5279, allocations: 192.5 kB / 468.4 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.8e-06/0.5279, allocations: 8 kB / 468.4 MB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.327e-06/0.5279, allocations: 0 / 468.4 MB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.364e-06/0.5279, allocations: 3.938 kB / 468.4 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.5292, allocations: 0.6257 MB / 469 MB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.186e-06/0.5293, allocations: 5.688 kB / 469 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.5296, allocations: 43.97 kB / 469 MB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-06/0.5297, allocations: 4.031 kB / 469 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.5297, allocations: 8 kB / 469 MB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.464e-06/0.5297, allocations: 4 kB / 469.1 MB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-06/0.5297, allocations: 7.922 kB / 469.1 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.5305, allocations: 480.3 kB / 469.5 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.5307, allocations: 112.6 kB / 469.6 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.5307, allocations: 7.953 kB / 469.6 MB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.531, allocations: 8 kB / 469.7 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.5311, allocations: 15.97 kB / 469.7 MB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.5312, allocations: 4 kB / 469.7 MB, free: 2.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003356/0.5315, allocations: 218.2 kB / 469.9 MB, free: 2.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.5315, allocations: 0 / 469.9 MB, free: 2.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006865/0.5322, allocations: 80 kB / 470 MB, free: 2.355 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.motor.phi_el,machine.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 (21): * Single equations (assignments): 20 * 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.000245/0.5325, allocations: 135 kB / 470.1 MB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000504/0.533, allocations: 183.8 kB / 470.3 MB, free: 2.035 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.415e-06/0.533, allocations: 0 / 470.3 MB, free: 2.035 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.5332, allocations: 75.88 kB / 470.4 MB, free: 1.961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.5339, allocations: 84.81 kB / 470.4 MB, free: 1.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.5357, allocations: 0.6826 MB / 471.1 MB, free: 1.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.5364, allocations: 0.8343 MB / 472 MB, free: 304 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.5367, allocations: 47.27 kB / 472 MB, free: 256 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.5368, allocations: 27.44 kB / 472 MB, free: 232 kB / 394.7 MB Notification: Performance of SimCode: time 1.648e-06/0.5368, allocations: 0 / 472 MB, free: 232 kB / 394.7 MB Notification: Performance of Templates: time 0.01154/0.5484, allocations: 3.489 MB / 475.5 MB, free: 12.78 MB / 410.7 MB