Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AIMC_Inverter,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.968/0.968, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.801e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1643, allocations: 25.14 MB / 176.6 MB, free: 15.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07472/0.239, allocations: 44.22 MB / 220.9 MB, free: 5.121 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.2393, allocations: 71.91 kB / 220.9 MB, free: 5.051 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09779/0.3371, allocations: 24.34 MB / 245.3 MB, free: 12.57 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3372, allocations: 4 kB / 245.3 MB, free: 12.56 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001125/0.3373, allocations: 39.94 kB / 245.3 MB, free: 12.52 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.004889/0.3422, allocations: 1.483 MB / 246.8 MB, free: 10.99 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3423, allocations: 8.031 kB / 246.8 MB, free: 10.98 MB / 218.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005207/0.3428, allocations: 210.4 kB / 247 MB, free: 10.77 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004264/0.3433, allocations: 158.1 kB / 247.2 MB, free: 10.61 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.3456, allocations: 0.8673 MB / 248 MB, free: 9.703 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.3457, allocations: 98.53 kB / 248.1 MB, free: 9.605 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.3461, allocations: 128 kB / 248.2 MB, free: 9.48 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/0.3506, allocations: 1.731 MB / 250 MB, free: 7.684 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.566e-05/0.3507, allocations: 7.906 kB / 250 MB, free: 7.676 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.3509, allocations: 56 kB / 250 MB, free: 7.621 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.3511, allocations: 62.59 kB / 250.1 MB, free: 7.559 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004013/0.3551, allocations: 1.407 MB / 251.5 MB, free: 6.148 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.368, allocations: 4.773 MB / 256.3 MB, free: 1.289 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1456/0.5136, allocations: 1.466 MB / 257.7 MB, free: 54.96 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/0.5155, allocations: 0.5685 MB / 258.3 MB, free: 54.95 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.885e-05/0.5156, allocations: 16.45 kB / 258.3 MB, free: 54.95 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.5157, allocations: 42.75 kB / 258.4 MB, free: 54.91 MB / 218.7 MB Notification: Performance of pre-optimization done (n=77): time 4.197e-06/0.5157, allocations: 0.5312 kB / 258.4 MB, free: 54.91 MB / 218.7 MB Notification: Performance of matching and sorting (n=99): time 0.02115/0.5368, allocations: 5.494 MB / 263.9 MB, free: 54.45 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.5369, allocations: 58.72 kB / 263.9 MB, free: 54.38 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7706:7-7708:33:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/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.001127/0.538, allocations: 0.5824 MB / 264.5 MB, free: 54.27 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.5382, allocations: 42.92 kB / 264.6 MB, free: 54.24 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.5385, allocations: 0.5601 MB / 265.1 MB, free: 53.96 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.5388, allocations: 342.9 kB / 265.4 MB, free: 53.75 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.5389, allocations: 19.19 kB / 265.5 MB, free: 53.75 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.539, allocations: 347.2 kB / 265.8 MB, free: 53.43 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.5402, allocations: 0.5626 MB / 266.4 MB, free: 53.43 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.5414, allocations: 0.6545 MB / 267 MB, free: 53.38 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.5427, allocations: 0.6773 MB / 267.7 MB, free: 53.36 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5427, allocations: 0 / 267.7 MB, free: 53.36 MB / 218.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004851/0.5476, allocations: 2.002 MB / 269.7 MB, free: 53.07 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.5477, allocations: 5.312 kB / 269.7 MB, free: 53.07 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.5477, allocations: 1.078 kB / 269.7 MB, free: 53.07 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002739/0.5504, allocations: 0.6989 MB / 270.4 MB, free: 52.88 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.5518, allocations: 171.1 kB / 270.6 MB, free: 52.87 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.5651, allocations: 8.614 MB / 279.2 MB, free: 47.03 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.5664, allocations: 77.16 kB / 279.3 MB, free: 47.01 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.5666, allocations: 27.92 kB / 279.3 MB, free: 47.01 MB / 218.7 MB Warning: Assuming fixed start value for the following 6 variables: loadInertia.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(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.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 76 * 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: 3 * 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: 3 {(5,92.0%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003734/0.5669, allocations: 165.3 kB / 279.4 MB, free: 46.88 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.5672, allocations: 91.19 kB / 279.5 MB, free: 46.83 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005106/0.5723, allocations: 2.05 MB / 281.6 MB, free: 46.05 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.5723, allocations: 11.22 kB / 281.6 MB, free: 46.05 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.5723, allocations: 3.781 kB / 281.6 MB, free: 46.05 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5724, allocations: 3.75 kB / 281.6 MB, free: 46.05 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009097/0.5815, allocations: 3.854 MB / 285.5 MB, free: 44.49 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-06/0.5815, allocations: 3.656 kB / 285.5 MB, free: 44.49 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.5827, allocations: 143.9 kB / 285.6 MB, free: 44.45 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002932/0.5856, allocations: 0.7165 MB / 286.3 MB, free: 43.89 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.5858, allocations: 26.05 kB / 286.3 MB, free: 43.87 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.5983, allocations: 8.453 MB / 294.8 MB, free: 35.85 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5984, allocations: 0 / 294.8 MB, free: 35.85 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006305/0.6047, allocations: 2.973 MB / 297.8 MB, free: 33.2 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006917/0.6054, allocations: 291.2 kB / 298.1 MB, free: 32.93 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.6056, allocations: 31.06 kB / 298.1 MB, free: 32.9 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6067, allocations: 79.48 kB / 298.2 MB, free: 32.85 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.6069, allocations: 85.86 kB / 298.2 MB, free: 32.8 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/0.6071, allocations: 27.75 kB / 298.3 MB, free: 32.77 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0007084/0.6078, allocations: 443.2 kB / 298.7 MB, free: 32.38 MB / 218.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6078, allocations: 0 / 298.7 MB, free: 32.38 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001464/0.6093, allocations: 343 kB / 299 MB, free: 32.05 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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: 3 * 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: 3 {(5,92.0%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006545/0.6158, allocations: 3.885 MB / 302.9 MB, free: 28.47 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004608/0.6205, allocations: 2.057 MB / 305 MB, free: 26.57 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6205, allocations: 3.938 kB / 305 MB, free: 26.57 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003222/0.6237, allocations: 1.405 MB / 306.4 MB, free: 25.26 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.6254, allocations: 192.7 kB / 306.6 MB, free: 25.12 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.6321, allocations: 3.054 MB / 309.6 MB, free: 22.19 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.6333, allocations: 1.454 MB / 311.1 MB, free: 20.71 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00087/0.6342, allocations: 443.3 kB / 311.5 MB, free: 20.29 MB / 218.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6342, allocations: 0 / 311.5 MB, free: 20.29 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.273/3.907, allocations: 45.7 MB / 357.2 MB, free: 64.84 MB / 234.7 MB