Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCSE_Start,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.9708/0.9708, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.547e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1623, allocations: 25.15 MB / 176.6 MB, free: 15.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06515/0.2275, allocations: 38.79 MB / 215.4 MB, free: 10.56 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.2278, allocations: 67.91 kB / 215.5 MB, free: 10.5 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03069/0.2585, allocations: 7.531 MB / 223 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2585, allocations: 0 / 223 MB, free: 2.93 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.2586, allocations: 8 kB / 223 MB, free: 2.922 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001282/0.2599, allocations: 0.5958 MB / 223.6 MB, free: 2.281 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2599, allocations: 8.031 kB / 223.6 MB, free: 2.273 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.26, allocations: 78.48 kB / 223.7 MB, free: 2.188 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2602, allocations: 47.42 kB / 223.8 MB, free: 2.141 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.2607, allocations: 298.3 kB / 224.1 MB, free: 1.809 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.2607, allocations: 28.78 kB / 224.1 MB, free: 1.781 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.2608, allocations: 39.98 kB / 224.1 MB, free: 1.742 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008705/0.2617, allocations: 361.4 kB / 224.5 MB, free: 1.375 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.2617, allocations: 4 kB / 224.5 MB, free: 1.371 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/0.2618, allocations: 16 kB / 224.5 MB, free: 1.355 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.2618, allocations: 11.95 kB / 224.5 MB, free: 1.344 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.2625, allocations: 229.5 kB / 224.7 MB, free: 1.121 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.2654, allocations: 1.29 MB / 226 MB, free: 15.75 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.2659, allocations: 178.9 kB / 226.2 MB, free: 15.56 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.2663, allocations: 149.1 kB / 226.3 MB, free: 15.41 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2664, allocations: 192 / 226.3 MB, free: 15.41 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.2664, allocations: 38.91 kB / 226.4 MB, free: 15.37 MB / 202.7 MB Notification: Performance of pre-optimization done (n=22): time 4.879e-06/0.2664, allocations: 3.938 kB / 226.4 MB, free: 15.36 MB / 202.7 MB Notification: Performance of matching and sorting (n=24): time 0.001654/0.2681, allocations: 0.6615 MB / 227 MB, free: 14.65 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.2682, allocations: 85.11 kB / 227.1 MB, free: 14.55 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:3115:9-3117:50:writable] Warning: Parameter dcse.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0005) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:3112:9-3114:50:writable] Warning: Parameter dcse.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) 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 dcse.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 dcse.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 dcse.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=147.6548547187203) 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 dcse.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 dcse.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 dcse.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcse.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 dcse.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.0004666/0.2687, allocations: 247.5 kB / 227.4 MB, free: 14.3 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.2687, allocations: 33.7 kB / 227.4 MB, free: 14.26 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.2689, allocations: 274.2 kB / 227.7 MB, free: 13.99 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.269, allocations: 78.81 kB / 227.7 MB, free: 13.91 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.269, allocations: 8 kB / 227.8 MB, free: 13.9 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2691, allocations: 318.8 kB / 228.1 MB, free: 13.58 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.2693, allocations: 64.28 kB / 228.1 MB, free: 13.52 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.2696, allocations: 122.5 kB / 228.2 MB, free: 13.38 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.2698, allocations: 80.66 kB / 228.3 MB, free: 13.3 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2698, allocations: 0 / 228.3 MB, free: 13.3 MB / 202.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007565/0.2706, allocations: 302.4 kB / 228.6 MB, free: 12.99 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2706, allocations: 4.781 kB / 228.6 MB, free: 12.99 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2707, allocations: 0 / 228.6 MB, free: 12.99 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.271, allocations: 57.69 kB / 228.7 MB, free: 12.93 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.2714, allocations: 55.91 kB / 228.7 MB, free: 12.87 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.2741, allocations: 2.771 MB / 231.5 MB, free: 9.832 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.2744, allocations: 24.05 kB / 231.5 MB, free: 9.809 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.2745, allocations: 12 kB / 231.5 MB, free: 9.797 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real dcse.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcse.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: 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 (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.2747, allocations: 121.3 kB / 231.7 MB, free: 9.672 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.2748, allocations: 23.72 kB / 231.7 MB, free: 9.648 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.2749, allocations: 29.97 kB / 231.7 MB, free: 9.621 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2749, allocations: 0 / 231.7 MB, free: 9.621 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.2749, allocations: 11.95 kB / 231.7 MB, free: 9.609 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2749, allocations: 3.984 kB / 231.7 MB, free: 9.605 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.2763, allocations: 0.7257 MB / 232.5 MB, free: 8.812 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2763, allocations: 128 / 232.5 MB, free: 8.812 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.2768, allocations: 52.03 kB / 232.5 MB, free: 8.762 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.277, allocations: 57.69 kB / 232.6 MB, free: 8.699 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.2771, allocations: 8 kB / 232.6 MB, free: 8.691 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/0.2796, allocations: 2.767 MB / 235.3 MB, free: 5.648 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2797, allocations: 128 / 235.3 MB, free: 5.648 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009282/0.2806, allocations: 473.9 kB / 235.8 MB, free: 5.145 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.2808, allocations: 120.8 kB / 235.9 MB, free: 5.008 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.2808, allocations: 15.89 kB / 235.9 MB, free: 4.992 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.2813, allocations: 31.97 kB / 236 MB, free: 4.961 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2813, allocations: 19.92 kB / 236 MB, free: 4.941 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.2814, allocations: 8 kB / 236 MB, free: 4.934 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002594/0.2816, allocations: 179.1 kB / 236.2 MB, free: 4.758 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2817, allocations: 0 / 236.2 MB, free: 4.758 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006638/0.2823, allocations: 83.94 kB / 236.3 MB, free: 4.676 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcse.inertiaRotor.w,dcse.airGapDC.psi_e,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/0.2836, allocations: 1.149 MB / 237.4 MB, free: 3.48 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0008775/0.2845, allocations: 419.2 kB / 237.8 MB, free: 3.051 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2845, allocations: 0 / 237.8 MB, free: 3.051 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.2851, allocations: 319.9 kB / 238.1 MB, free: 2.719 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.2857, allocations: 56.47 kB / 238.2 MB, free: 2.664 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.2874, allocations: 0.6736 MB / 238.9 MB, free: 1.953 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.2879, allocations: 0.8025 MB / 239.7 MB, free: 1.125 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.2881, allocations: 115.4 kB / 239.8 MB, free: 1.012 MB / 202.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2881, allocations: 0 / 239.8 MB, free: 1.012 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.545/2.833, allocations: 8.139 MB / 247.9 MB, free: 8.871 MB / 218.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.DCSE_Start_res.mat does not exist to compare? outputFormat=mat