Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AIMC_DOL,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.033/1.033, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.393e-05, allocations: 0 / 151.5 MB, free: 15.49 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1662, allocations: 25.15 MB / 176.6 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08127/0.2475, allocations: 45.56 MB / 222.2 MB, free: 3.844 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.2478, allocations: 63.97 kB / 222.3 MB, free: 3.781 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.138/0.3858, allocations: 28.48 MB / 250.7 MB, free: 7.109 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3858, allocations: 0 / 250.7 MB, free: 7.109 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001534/0.386, allocations: 51.92 kB / 250.8 MB, free: 7.059 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: 390 * Number of variables: 390 Notification: Performance of Generate backend data structure: time 0.005921/0.3919, allocations: 1.729 MB / 252.5 MB, free: 5.277 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.392, allocations: 12.03 kB / 252.5 MB, free: 5.266 MB / 218.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006117/0.3926, allocations: 227.8 kB / 252.8 MB, free: 5.031 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005478/0.3932, allocations: 193.7 kB / 252.9 MB, free: 4.84 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.3964, allocations: 1.106 MB / 254.1 MB, free: 3.688 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.3966, allocations: 115 kB / 254.2 MB, free: 3.574 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/0.397, allocations: 155.8 kB / 254.3 MB, free: 3.422 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005477/0.4025, allocations: 2.073 MB / 256.4 MB, free: 1.27 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.784e-05/0.4026, allocations: 3.984 kB / 256.4 MB, free: 1.266 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/0.4029, allocations: 64 kB / 256.5 MB, free: 1.203 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.403, allocations: 67.03 kB / 256.5 MB, free: 1.137 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1499/0.5529, allocations: 1.729 MB / 258.3 MB, free: 52.08 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.5682, allocations: 5.984 MB / 264.2 MB, free: 51.12 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.5714, allocations: 1.955 MB / 266.2 MB, free: 50.25 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.5734, allocations: 0.8443 MB / 267 MB, free: 50.24 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.245e-05/0.5736, allocations: 23.47 kB / 267.1 MB, free: 50.23 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.5736, allocations: 40.94 kB / 267.1 MB, free: 50.2 MB / 218.7 MB Notification: Performance of pre-optimization done (n=94): time 3.346e-06/0.5736, allocations: 0 / 267.1 MB, free: 50.2 MB / 218.7 MB Notification: Performance of matching and sorting (n=114): time 0.02143/0.5951, allocations: 5.899 MB / 273 MB, free: 49.04 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5951, allocations: 66.77 kB / 273.1 MB, free: 48.98 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) 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.001801/0.597, allocations: 0.8671 MB / 273.9 MB, free: 48.64 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.5972, allocations: 41.33 kB / 274 MB, free: 48.6 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.5976, allocations: 0.6625 MB / 274.6 MB, free: 48.09 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000413/0.598, allocations: 385.1 kB / 275 MB, free: 47.8 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.5981, allocations: 19.97 kB / 275 MB, free: 47.79 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.5982, allocations: 353.5 kB / 275.4 MB, free: 47.46 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.5996, allocations: 0.6599 MB / 276 MB, free: 47.22 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.601, allocations: 0.7513 MB / 276.8 MB, free: 46.91 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.6026, allocations: 0.7702 MB / 277.6 MB, free: 46.62 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6026, allocations: 0 / 277.6 MB, free: 46.62 MB / 218.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005201/0.6078, allocations: 2.158 MB / 279.7 MB, free: 45.87 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.6079, allocations: 7.625 kB / 279.7 MB, free: 45.87 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6079, allocations: 0 / 279.7 MB, free: 45.87 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/0.6106, allocations: 0.6661 MB / 280.4 MB, free: 45.68 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.6122, allocations: 212.9 kB / 280.6 MB, free: 45.68 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.6245, allocations: 8.153 MB / 288.7 MB, free: 40.04 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.6259, allocations: 82.22 kB / 288.8 MB, free: 40.03 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.6261, allocations: 31.3 kB / 288.9 MB, free: 40.02 MB / 218.7 MB Warning: Assuming fixed start value for the following 7 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real 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.i_0_s:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator zero-sequence current" 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 94 * 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 {(4,87.5%) 23,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003944/0.6265, allocations: 177.6 kB / 289 MB, free: 39.88 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.6267, allocations: 111.4 kB / 289.1 MB, free: 39.82 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005535/0.6323, allocations: 2.239 MB / 291.4 MB, free: 38.52 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.6323, allocations: 15.95 kB / 291.4 MB, free: 38.5 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.6324, allocations: 8 kB / 291.4 MB, free: 38.5 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.6324, allocations: 7.688 kB / 291.4 MB, free: 38.5 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.643, allocations: 4.304 MB / 295.7 MB, free: 34.99 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.643, allocations: 0 / 295.7 MB, free: 34.99 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.6445, allocations: 182.5 kB / 295.9 MB, free: 34.84 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/0.6474, allocations: 0.6936 MB / 296.6 MB, free: 34.3 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.6476, allocations: 26.38 kB / 296.6 MB, free: 34.28 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/0.6593, allocations: 7.997 MB / 304.6 MB, free: 26.61 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6594, allocations: 4 kB / 304.6 MB, free: 26.61 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007025/0.6664, allocations: 3.292 MB / 307.9 MB, free: 23.7 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009241/0.6674, allocations: 349.3 kB / 308.2 MB, free: 23.37 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.6676, allocations: 27.8 kB / 308.3 MB, free: 23.34 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.6688, allocations: 84.61 kB / 308.4 MB, free: 23.27 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/0.6692, allocations: 104.8 kB / 308.5 MB, free: 23.17 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.6693, allocations: 32 kB / 308.5 MB, free: 23.14 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001161/0.6704, allocations: 0.6475 MB / 309.1 MB, free: 22.5 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.794e-06/0.6705, allocations: 0 / 309.1 MB, free: 22.5 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001595/0.6721, allocations: 381.2 kB / 309.5 MB, free: 22.13 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * 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 {(4,87.5%) 23,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007365/0.6794, allocations: 4.161 MB / 313.7 MB, free: 17.91 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.005008/0.6845, allocations: 2.246 MB / 315.9 MB, free: 15.62 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6845, allocations: 0 / 315.9 MB, free: 15.62 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003423/0.688, allocations: 1.517 MB / 317.4 MB, free: 14.05 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.6903, allocations: 264.8 kB / 317.7 MB, free: 13.81 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008081/0.6985, allocations: 3.65 MB / 321.3 MB, free: 10.14 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.6999, allocations: 1.639 MB / 323 MB, free: 8.477 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.701, allocations: 0.5383 MB / 323.5 MB, free: 7.938 MB / 218.7 MB Notification: Performance of SimCode: time 2.344e-06/0.7011, allocations: 4 kB / 323.5 MB, free: 7.934 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.401/4.102, allocations: 57.65 MB / 381.2 MB, free: 48.97 MB / 234.7 MB