Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.DCEE_Start.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) 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.065/1.065, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.844e-05, allocations: 4 kB / 148.2 MB, free: 6.113 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05738/0.05746, allocations: 25.17 MB / 173.4 MB, free: 12.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.2924, allocations: 38.22 MB / 211.6 MB, free: 4.605 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.2927, allocations: 59.2 kB / 211.7 MB, free: 4.605 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03336/0.3261, allocations: 7.734 MB / 219.4 MB, free: 2.453 MB / 170.7 MB Notification: Performance of FrontEnd: time 4.568e-06/0.3262, allocations: 0 / 219.4 MB, free: 2.453 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.634e-05/0.3262, allocations: 14.12 kB / 219.4 MB, free: 2.449 MB / 170.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.001693/0.3279, allocations: 0.6204 MB / 220 MB, free: 1.945 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.328, allocations: 10 kB / 220 MB, free: 1.945 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.3282, allocations: 39.53 kB / 220.1 MB, free: 1.926 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.329, allocations: 307.9 kB / 220.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.329, allocations: 12.78 kB / 220.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.3291, allocations: 28.94 kB / 220.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008467/0.33, allocations: 217.7 kB / 220.6 MB, free: 1.664 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.3311, allocations: 336.2 kB / 221 MB, free: 1.555 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/0.3312, allocations: 7.5 kB / 221 MB, free: 1.551 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.3313, allocations: 0 / 221 MB, free: 1.551 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.3313, allocations: 11.75 kB / 221 MB, free: 1.551 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00784/0.3392, allocations: 1.28 MB / 222.3 MB, free: 0.7773 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.3398, allocations: 157.3 kB / 222.4 MB, free: 0.7461 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.34, allocations: 72.02 kB / 222.5 MB, free: 0.7383 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.34, allocations: 4 kB / 222.5 MB, free: 0.7344 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3401, allocations: 34.44 kB / 222.5 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of pre-optimization done (n=20): time 4.238e-06/0.3401, allocations: 0 / 222.5 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.001496/0.3416, allocations: 0.5311 MB / 223.1 MB, free: 344 kB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.3417, allocations: 81.25 kB / 223.1 MB, free: 244 kB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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/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/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/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.0005282/0.3422, allocations: 240.8 kB / 223.4 MB, free: 116 kB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3423, allocations: 29.64 kB / 223.4 MB, free: 80 kB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.3425, allocations: 290 kB / 223.7 MB, free: 15.84 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.3426, allocations: 74.12 kB / 223.8 MB, free: 15.79 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.3426, allocations: 0 / 223.8 MB, free: 15.79 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3428, allocations: 325.3 kB / 224.1 MB, free: 15.47 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.343, allocations: 47.59 kB / 224.1 MB, free: 15.46 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.3433, allocations: 131.2 kB / 224.2 MB, free: 15.38 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.3435, allocations: 70.5 kB / 224.3 MB, free: 15.36 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3435, allocations: 0 / 224.3 MB, free: 15.36 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006987/0.3443, allocations: 222.9 kB / 224.5 MB, free: 15.29 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3443, allocations: 3.781 kB / 224.5 MB, free: 15.29 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3443, allocations: 3.875 kB / 224.5 MB, free: 15.29 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.3445, allocations: 27.55 kB / 224.6 MB, free: 15.28 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.3452, allocations: 73.14 kB / 224.6 MB, free: 15.26 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.3553, allocations: 1.221 MB / 225.9 MB, free: 14.04 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.3559, allocations: 15.73 kB / 225.9 MB, free: 14.03 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.356, allocations: 10.88 kB / 225.9 MB, free: 14.03 MB / 186.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.0002759/0.3562, allocations: 117.9 kB / 226 MB, free: 13.91 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006632/0.3569, allocations: 175.8 kB / 226.2 MB, free: 13.85 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3571, allocations: 31.02 kB / 226.2 MB, free: 13.83 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.3572, allocations: 26.55 kB / 226.2 MB, free: 13.82 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3572, allocations: 0 / 226.2 MB, free: 13.82 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3572, allocations: 3.875 kB / 226.2 MB, free: 13.82 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3572, allocations: 0 / 226.2 MB, free: 13.82 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/0.3625, allocations: 0.6007 MB / 226.8 MB, free: 13.43 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.3626, allocations: 0 / 226.8 MB, free: 13.43 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.3633, allocations: 50.41 kB / 226.9 MB, free: 13.43 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.3635, allocations: 16.23 kB / 226.9 MB, free: 13.42 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.3635, allocations: 3.812 kB / 226.9 MB, free: 13.42 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.3649, allocations: 1.232 MB / 228.1 MB, free: 12.19 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3649, allocations: 0 / 228.1 MB, free: 12.19 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000871/0.3658, allocations: 386 kB / 228.5 MB, free: 11.96 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.3661, allocations: 115.3 kB / 228.6 MB, free: 11.85 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.3661, allocations: 0 / 228.6 MB, free: 11.85 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.3667, allocations: 31.09 kB / 228.7 MB, free: 11.84 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.3668, allocations: 19.03 kB / 228.7 MB, free: 11.83 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.3668, allocations: 7.812 kB / 228.7 MB, free: 11.82 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002902/0.3671, allocations: 173.8 kB / 228.8 MB, free: 11.73 MB / 186.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.3672, allocations: 0 / 228.8 MB, free: 11.73 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008134/0.368, allocations: 62.91 kB / 228.9 MB, free: 11.73 MB / 186.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.0013/0.3693, allocations: 1.056 MB / 230 MB, free: 10.84 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.009293/0.3786, allocations: 261.3 kB / 230.2 MB, free: 10.72 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.3787, allocations: 3.875 kB / 230.2 MB, free: 10.72 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/0.3792, allocations: 187.8 kB / 230.4 MB, free: 10.6 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000832/0.3801, allocations: 37.41 kB / 230.4 MB, free: 10.59 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.3869, allocations: 0.7169 MB / 231.2 MB, free: 10.07 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.3876, allocations: 0.8124 MB / 232 MB, free: 9.305 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.388, allocations: 113.7 kB / 232.1 MB, free: 9.289 MB / 186.7 MB Notification: Performance of SimCode: time 2.034e-06/0.388, allocations: 0 / 232.1 MB, free: 9.289 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/3.201, allocations: 6.771 MB / 238.9 MB, free: 5.594 MB / 186.7 MB