Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AIMC_Steinmetz,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.047/1.047, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.625e-05, allocations: 0 / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1697, allocations: 25.15 MB / 176.6 MB, free: 32 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07813/0.2479, allocations: 44.15 MB / 220.8 MB, free: 5.293 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.2482, allocations: 67.95 kB / 220.9 MB, free: 5.227 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09564/0.3438, allocations: 22.96 MB / 243.8 MB, free: 14.13 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3439, allocations: 0 / 243.8 MB, free: 14.13 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001081/0.344, allocations: 27.98 kB / 243.8 MB, free: 14.11 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004557/0.3486, allocations: 1.373 MB / 245.2 MB, free: 12.68 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.3487, allocations: 8.031 kB / 245.2 MB, free: 12.68 MB / 218.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005063/0.3492, allocations: 197.8 kB / 245.4 MB, free: 12.47 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004143/0.3496, allocations: 150.2 kB / 245.6 MB, free: 12.32 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.3517, allocations: 0.7945 MB / 246.4 MB, free: 11.49 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.3518, allocations: 94.42 kB / 246.4 MB, free: 11.39 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003294/0.3522, allocations: 124 kB / 246.6 MB, free: 11.27 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.3564, allocations: 1.573 MB / 248.1 MB, free: 9.629 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-05/0.3565, allocations: 7.891 kB / 248.1 MB, free: 9.621 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.3567, allocations: 52 kB / 248.2 MB, free: 9.57 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.3568, allocations: 54.42 kB / 248.3 MB, free: 9.516 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/0.3606, allocations: 1.274 MB / 249.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.3741, allocations: 4.817 MB / 254.3 MB, free: 3.312 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/0.3775, allocations: 1.516 MB / 255.9 MB, free: 1.699 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.3796, allocations: 0.7376 MB / 256.6 MB, free: 0.9609 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.875e-05/0.3797, allocations: 12.78 kB / 256.6 MB, free: 0.9453 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.3798, allocations: 47.28 kB / 256.7 MB, free: 0.8906 MB / 218.7 MB Notification: Performance of pre-optimization done (n=95): time 3.827e-06/0.3798, allocations: 0 / 256.7 MB, free: 0.8906 MB / 218.7 MB Notification: Performance of matching and sorting (n=116): time 0.1698/0.5496, allocations: 5.613 MB / 262.3 MB, free: 55.74 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5497, allocations: 63.47 kB / 262.3 MB, free: 55.68 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1719:9-1721:75:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1716:9-1718:75:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:1713:9-1715:75:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7411:7-7413:73:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7408:7-7410:73:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7406:7-7407:28:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7405:7-7405:75:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter aimc.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=aimc.Jr) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.5509, allocations: 0.6041 MB / 262.9 MB, free: 55.54 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.5512, allocations: 43.55 kB / 263 MB, free: 55.51 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.5515, allocations: 0.5145 MB / 263.5 MB, free: 55.25 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004064/0.5519, allocations: 400 kB / 263.9 MB, free: 55.02 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.5521, allocations: 20.47 kB / 263.9 MB, free: 55.02 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5522, allocations: 352.4 kB / 264.2 MB, free: 54.71 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.5534, allocations: 0.5807 MB / 264.8 MB, free: 54.71 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.5548, allocations: 0.6917 MB / 265.5 MB, free: 54.63 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.5563, allocations: 0.706 MB / 266.2 MB, free: 54.61 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.5564, allocations: 3.953 kB / 266.2 MB, free: 54.6 MB / 218.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.005481/0.5619, allocations: 2.115 MB / 268.3 MB, free: 54.46 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.5619, allocations: 10.59 kB / 268.4 MB, free: 54.46 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.562, allocations: 0 / 268.4 MB, free: 54.46 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.565, allocations: 0.7515 MB / 269.1 MB, free: 54.32 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.5665, allocations: 190.1 kB / 269.3 MB, free: 54.32 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.5815, allocations: 10.11 MB / 279.4 MB, free: 47.05 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.5829, allocations: 74.84 kB / 279.5 MB, free: 47.03 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.583, allocations: 34.88 kB / 279.5 MB, free: 47.02 MB / 218.7 MB Warning: Assuming fixed start value for the following 9 variables: cStart.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real cRun.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.i_0_s:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,87.5%) 23,(3,100.0%) 9,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004325/0.5835, allocations: 177.4 kB / 279.7 MB, free: 46.88 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.5837, allocations: 93.55 kB / 279.8 MB, free: 46.83 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005561/0.5893, allocations: 2.144 MB / 281.9 MB, free: 46.01 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.5894, allocations: 17.7 kB / 281.9 MB, free: 46 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.5894, allocations: 7.531 kB / 281.9 MB, free: 46 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.127e-05/0.5894, allocations: 10.73 kB / 282 MB, free: 46 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.5996, allocations: 3.925 MB / 285.9 MB, free: 44.39 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/0.5997, allocations: 5.781 kB / 285.9 MB, free: 44.39 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.6011, allocations: 164 kB / 286 MB, free: 44.38 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.6044, allocations: 0.764 MB / 286.8 MB, free: 43.81 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.6047, allocations: 38.89 kB / 286.8 MB, free: 43.78 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.619, allocations: 9.944 MB / 296.8 MB, free: 34.15 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.619, allocations: 4 kB / 296.8 MB, free: 34.15 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007105/0.6261, allocations: 3.079 MB / 299.9 MB, free: 31.38 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008482/0.627, allocations: 299 kB / 300.2 MB, free: 31.09 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.6273, allocations: 29.97 kB / 300.2 MB, free: 31.07 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.6284, allocations: 73.67 kB / 300.3 MB, free: 31.02 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/0.6288, allocations: 92.28 kB / 300.4 MB, free: 30.96 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.6289, allocations: 28 kB / 300.4 MB, free: 30.93 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0007909/0.6297, allocations: 469.3 kB / 300.8 MB, free: 30.52 MB / 218.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6297, allocations: 0 / 300.8 MB, free: 30.52 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001838/0.6316, allocations: 359.9 kB / 301.2 MB, free: 30.17 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,87.5%) 23,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007309/0.6389, allocations: 3.925 MB / 305.1 MB, free: 26.54 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.005266/0.6442, allocations: 2.26 MB / 307.4 MB, free: 24.43 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.6443, allocations: 0 / 307.4 MB, free: 24.43 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003598/0.6479, allocations: 1.581 MB / 309 MB, free: 22.94 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.65, allocations: 220.9 kB / 309.2 MB, free: 22.78 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007101/0.6572, allocations: 3.077 MB / 312.3 MB, free: 19.87 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.6583, allocations: 1.363 MB / 313.6 MB, free: 18.48 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008704/0.6591, allocations: 435.3 kB / 314 MB, free: 18.05 MB / 218.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6592, allocations: 0 / 314 MB, free: 18.05 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.33/3.989, allocations: 48.95 MB / 363 MB, free: 63.99 MB / 234.7 MB