Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadModel(PowerSystems): time 2.306/2.306, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.081e-05/3.088e-05, allocations: 4 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09328, allocations: 53.23 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.5632, allocations: 94.26 MB / 449.7 MB, free: 7.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5635, allocations: 87.95 kB / 449.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04506/0.6086, allocations: 11.36 MB / 461.1 MB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.6087, allocations: 0 / 461.1 MB, free: 11.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.956e-05/0.6087, allocations: 12 kB / 461.1 MB, free: 11.93 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.001238/0.61, allocations: 0.6157 MB / 461.8 MB, free: 11.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.61, allocations: 15.97 kB / 461.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.6102, allocations: 43.44 kB / 461.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.6117, allocations: 0.5571 MB / 462.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.6119, allocations: 58.47 kB / 462.4 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-05/0.612, allocations: 36.52 kB / 462.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008761/0.6129, allocations: 425.4 kB / 462.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.6129, allocations: 4 kB / 462.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.613, allocations: 12 kB / 462.9 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.613, allocations: 8 kB / 462.9 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006111/0.6136, allocations: 244.9 kB / 463.1 MB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.6168, allocations: 1.874 MB / 465 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.6172, allocations: 163.7 kB / 465.2 MB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.6174, allocations: 76.84 kB / 465.3 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.6174, allocations: 4 kB / 465.3 MB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.6175, allocations: 38.56 kB / 465.3 MB, free: 7.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 3.851e-06/0.6175, allocations: 0 / 465.3 MB, free: 7.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.002871/0.6203, allocations: 0.8371 MB / 466.1 MB, free: 6.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.6205, allocations: 106.8 kB / 466.2 MB, free: 6.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.6212, allocations: 279.2 kB / 466.5 MB, free: 6.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.6213, allocations: 33.7 kB / 466.5 MB, free: 6.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.6216, allocations: 243.5 kB / 466.8 MB, free: 5.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.6218, allocations: 74.98 kB / 466.9 MB, free: 5.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.6218, allocations: 8 kB / 466.9 MB, free: 5.781 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002884/0.6222, allocations: 338.8 kB / 467.2 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.6225, allocations: 68.73 kB / 467.3 MB, free: 5.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.6231, allocations: 200.2 kB / 467.5 MB, free: 5.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.6235, allocations: 108.8 kB / 467.6 MB, free: 5.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.078e-06/0.6235, allocations: 0 / 467.6 MB, free: 5.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001135/0.6246, allocations: 313.1 kB / 467.9 MB, free: 4.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.6247, allocations: 4 kB / 467.9 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.6247, allocations: 4 kB / 467.9 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/0.6248, allocations: 8 kB / 467.9 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.6255, allocations: 76.75 kB / 468 MB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/0.6256, allocations: 16.39 kB / 468 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.6261, allocations: 19.91 kB / 468 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.6262, allocations: 16 kB / 468 MB, free: 4.562 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.0001919/0.6264, allocations: 128.8 kB / 468.1 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.6266, allocations: 27.62 kB / 468.2 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008039/0.6275, allocations: 199.2 kB / 468.4 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.6275, allocations: 7.984 kB / 468.4 MB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.402e-06/0.6275, allocations: 0 / 468.4 MB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6276, allocations: 9.875 kB / 468.4 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.6293, allocations: 0.6221 MB / 469 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.6293, allocations: 0 / 469 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.6297, allocations: 43.97 kB / 469 MB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.6297, allocations: 4 kB / 469 MB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.6298, allocations: 4 kB / 469.1 MB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.688e-06/0.6298, allocations: 11.97 kB / 469.1 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.653e-06/0.6298, allocations: 3.938 kB / 469.1 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.6305, allocations: 480.5 kB / 469.5 MB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.6307, allocations: 108.7 kB / 469.6 MB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.6308, allocations: 7.953 kB / 469.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.631, allocations: 8 kB / 469.7 MB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.6311, allocations: 15.97 kB / 469.7 MB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.6312, allocations: 4 kB / 469.7 MB, free: 2.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003122/0.6315, allocations: 218.1 kB / 469.9 MB, free: 2.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.6315, allocations: 0 / 469.9 MB, free: 2.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006194/0.6321, allocations: 80 kB / 470 MB, free: 2.48 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.0002197/0.6324, allocations: 135.1 kB / 470.1 MB, free: 2.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.6328, allocations: 187.8 kB / 470.3 MB, free: 2.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.804e-06/0.6328, allocations: 0 / 470.3 MB, free: 2.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.633, allocations: 75.88 kB / 470.4 MB, free: 2.082 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.6337, allocations: 82.47 kB / 470.4 MB, free: 2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.6355, allocations: 0.6697 MB / 471.1 MB, free: 1.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.6361, allocations: 0.8343 MB / 471.9 MB, free: 440 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.6364, allocations: 51.25 kB / 472 MB, free: 388 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/0.6365, allocations: 31.44 kB / 472 MB, free: 360 kB / 394.7 MB Notification: Performance of SimCode: time 2.355e-06/0.6366, allocations: 0 / 472 MB, free: 360 kB / 394.7 MB Notification: Performance of Templates: time 0.01131/0.6479, allocations: 3.489 MB / 475.5 MB, free: 12.91 MB / 410.7 MB