Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCEE_Start,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.026/1.026, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.607e-05, allocations: 0 / 151.5 MB, free: 15.5 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1681, allocations: 25.16 MB / 176.6 MB, free: 15.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06698/0.2351, allocations: 38.9 MB / 215.5 MB, free: 10.43 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.2354, allocations: 63.97 kB / 215.6 MB, free: 10.36 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03285/0.2683, allocations: 7.798 MB / 223.4 MB, free: 2.539 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2684, allocations: 0 / 223.4 MB, free: 2.539 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.083e-05/0.2684, allocations: 15.98 kB / 223.4 MB, free: 2.523 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001342/0.2698, allocations: 0.6232 MB / 224 MB, free: 1.855 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.2698, allocations: 12.03 kB / 224 MB, free: 1.844 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.27, allocations: 78.52 kB / 224.1 MB, free: 1.758 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.2701, allocations: 47.44 kB / 224.2 MB, free: 1.711 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.2706, allocations: 301.4 kB / 224.5 MB, free: 1.379 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.2707, allocations: 32.98 kB / 224.5 MB, free: 1.344 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.943e-05/0.2708, allocations: 40 kB / 224.5 MB, free: 1.305 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/0.2717, allocations: 380.2 kB / 224.9 MB, free: 0.9219 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/0.2718, allocations: 7.953 kB / 224.9 MB, free: 0.9141 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.2718, allocations: 12 kB / 224.9 MB, free: 0.9023 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2719, allocations: 15.98 kB / 224.9 MB, free: 0.8867 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/0.2726, allocations: 230 kB / 225.2 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.2757, allocations: 1.364 MB / 226.5 MB, free: 15.21 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.2763, allocations: 166.5 kB / 226.7 MB, free: 15.04 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.2765, allocations: 84.78 kB / 226.8 MB, free: 14.95 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.2765, allocations: 4 kB / 226.8 MB, free: 14.95 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2766, allocations: 34.56 kB / 226.8 MB, free: 14.91 MB / 202.7 MB Notification: Performance of pre-optimization done (n=20): time 2.936e-06/0.2766, allocations: 4 kB / 226.8 MB, free: 14.9 MB / 202.7 MB Notification: Performance of matching and sorting (n=21): time 0.001403/0.278, allocations: 0.564 MB / 227.4 MB, free: 14.28 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.2781, allocations: 81.28 kB / 227.5 MB, free: 14.18 MB / 202.7 MB [/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:2962:9-2964:50:writable] Warning: Parameter dcee.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2959:9-2961:50:writable] Warning: Parameter dcee.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2956:9-2958:50:writable] Warning: Parameter dcee.IeNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7500:7-7502:73:writable] Warning: Parameter dcee.La has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0015) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7497:7-7499:73:writable] Warning: Parameter dcee.Ra has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7494:7-7496:56:writable] Warning: Parameter dcee.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=149.2256510455151) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7491:7-7493:56:writable] Warning: Parameter dcee.IaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7488:7-7490:56:writable] Warning: Parameter dcee.VaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) 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 dcee.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcee.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 dcee.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.2786, allocations: 277.1 kB / 227.7 MB, free: 13.91 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.2787, allocations: 33.7 kB / 227.8 MB, free: 13.87 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.2789, allocations: 282.2 kB / 228 MB, free: 13.59 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.279, allocations: 70.91 kB / 228.1 MB, free: 13.52 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.279, allocations: 7.938 kB / 228.1 MB, free: 13.52 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2791, allocations: 326.8 kB / 228.4 MB, free: 13.19 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.2793, allocations: 56.28 kB / 228.5 MB, free: 13.13 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.2796, allocations: 120.4 kB / 228.6 MB, free: 12.98 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.2798, allocations: 84.56 kB / 228.7 MB, free: 12.9 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2798, allocations: 0 / 228.7 MB, free: 12.9 MB / 202.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000673/0.2805, allocations: 254.1 kB / 228.9 MB, free: 12.64 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.2806, allocations: 9.828 kB / 229 MB, free: 12.64 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2806, allocations: 8.219 kB / 229 MB, free: 12.63 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.2808, allocations: 16.86 kB / 229 MB, free: 12.61 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.2813, allocations: 71.89 kB / 229 MB, free: 12.54 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.2825, allocations: 1.268 MB / 230.3 MB, free: 11.14 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.2829, allocations: 19.98 kB / 230.3 MB, free: 11.12 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.283, allocations: 8 kB / 230.3 MB, free: 11.11 MB / 202.7 MB Warning: Assuming fixed start value for the following 4 variables: dcee.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real dcee.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcee.la.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real dcee.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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.2832, allocations: 130 kB / 230.5 MB, free: 10.98 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.2833, allocations: 27.67 kB / 230.5 MB, free: 10.95 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.955e-05/0.2834, allocations: 33.98 kB / 230.5 MB, free: 10.91 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2834, allocations: 0 / 230.5 MB, free: 10.91 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2834, allocations: 0 / 230.5 MB, free: 10.91 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.2834, allocations: 4 kB / 230.5 MB, free: 10.91 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.2847, allocations: 0.6736 MB / 231.2 MB, free: 10.17 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2848, allocations: 4 kB / 231.2 MB, free: 10.17 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.2853, allocations: 51.95 kB / 231.3 MB, free: 10.12 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.2854, allocations: 24.8 kB / 231.3 MB, free: 10.09 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.2855, allocations: 8.062 kB / 231.3 MB, free: 10.08 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.2866, allocations: 1.264 MB / 232.6 MB, free: 8.688 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2866, allocations: 8.094 kB / 232.6 MB, free: 8.68 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.2874, allocations: 406.7 kB / 233 MB, free: 8.246 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.2876, allocations: 112.9 kB / 233.1 MB, free: 8.117 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.2877, allocations: 15.94 kB / 233.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.2881, allocations: 23.98 kB / 233.1 MB, free: 8.078 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.2882, allocations: 19.97 kB / 233.1 MB, free: 8.059 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.2882, allocations: 4 kB / 233.1 MB, free: 8.055 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003284/0.2886, allocations: 203.1 kB / 233.3 MB, free: 7.852 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2886, allocations: 0 / 233.3 MB, free: 7.852 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005571/0.2891, allocations: 76 kB / 233.4 MB, free: 7.777 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/0.2903, allocations: 1.088 MB / 234.5 MB, free: 6.648 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.291, allocations: 257.8 kB / 234.7 MB, free: 6.387 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.291, allocations: 0 / 234.7 MB, free: 6.387 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.2914, allocations: 190.2 kB / 234.9 MB, free: 6.191 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.2921, allocations: 58.11 kB / 235 MB, free: 6.133 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.2941, allocations: 0.7482 MB / 235.7 MB, free: 5.336 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.2945, allocations: 0.8028 MB / 236.5 MB, free: 4.508 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.2948, allocations: 115.4 kB / 236.7 MB, free: 4.395 MB / 202.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2948, allocations: 0 / 236.7 MB, free: 4.395 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.6/2.895, allocations: 6.963 MB / 243.6 MB, free: 13.43 MB / 218.7 MB