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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.075/1.075, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002594, allocations: 4 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05365/0.05393, allocations: 25.17 MB / 183.6 MB, free: 5.883 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.2695, allocations: 38.98 MB / 222.6 MB, free: 5.262 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.2698, allocations: 64.06 kB / 222.6 MB, free: 5.254 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03073/0.3006, allocations: 7.798 MB / 230.4 MB, free: 0.7773 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3006, allocations: 0 / 230.4 MB, free: 0.7773 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.3006, allocations: 8 kB / 230.4 MB, free: 0.7695 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.001676/0.3023, allocations: 0.6603 MB / 231.1 MB, free: 88 kB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3024, allocations: 8.031 kB / 231.1 MB, free: 80 kB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.3026, allocations: 77.53 kB / 231.2 MB, free: 16 kB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.3028, allocations: 47.61 kB / 231.2 MB, free: 15.96 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006924/0.3035, allocations: 306.8 kB / 231.5 MB, free: 15.67 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.3035, allocations: 29.5 kB / 231.6 MB, free: 15.65 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.3037, allocations: 46.62 kB / 231.6 MB, free: 15.62 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.3052, allocations: 409.3 kB / 232 MB, free: 15.33 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.3053, allocations: 3.781 kB / 232 MB, free: 15.33 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.3054, allocations: 17.5 kB / 232 MB, free: 15.33 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.3054, allocations: 11.94 kB / 232 MB, free: 15.32 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.3069, allocations: 300.1 kB / 232.3 MB, free: 15.11 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/0.3114, allocations: 1.365 MB / 233.7 MB, free: 13.94 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.3123, allocations: 198.6 kB / 233.9 MB, free: 13.79 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.3124, allocations: 4 kB / 233.9 MB, free: 13.79 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.3124, allocations: 34.31 kB / 233.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of pre-optimization done (n=20): time 3.276e-06/0.3124, allocations: 0 / 233.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.003367/0.3158, allocations: 0.8286 MB / 234.8 MB, free: 12.96 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.3159, allocations: 84.55 kB / 234.8 MB, free: 12.87 MB / 186.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.0007575/0.3167, allocations: 273.5 kB / 235.1 MB, free: 12.64 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.3168, allocations: 33.52 kB / 235.1 MB, free: 12.6 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.317, allocations: 279.7 kB / 235.4 MB, free: 12.36 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3172, allocations: 80.39 kB / 235.5 MB, free: 12.29 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.3172, allocations: 7.312 kB / 235.5 MB, free: 12.29 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3174, allocations: 326.3 kB / 235.8 MB, free: 11.96 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.3179, allocations: 78.8 kB / 235.9 MB, free: 11.91 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.3184, allocations: 145.3 kB / 236 MB, free: 11.77 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/0.3189, allocations: 104.2 kB / 236.1 MB, free: 11.7 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3189, allocations: 0 / 236.1 MB, free: 11.7 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001311/0.3203, allocations: 305 kB / 236.4 MB, free: 11.46 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3203, allocations: 8 kB / 236.4 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3203, allocations: 0 / 236.4 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.3206, allocations: 24.47 kB / 236.5 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.3213, allocations: 68.06 kB / 236.5 MB, free: 11.36 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.323, allocations: 1.285 MB / 237.8 MB, free: 9.992 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.3235, allocations: 19.61 kB / 237.8 MB, free: 9.977 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.3236, allocations: 11.38 kB / 237.9 MB, free: 9.969 MB / 186.7 MB Warning: Assuming fixed start value for the following 4 variables: dcee.inertiaRotor.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real dcee.airGapDC.psi_e:VARIABLE(unit = "Wb" fixed = true ) "Excitation flux" type: Real dcee.la.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real dcee.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "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 () * Number of clocked 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.0004662/0.324, allocations: 168.9 kB / 238 MB, free: 9.82 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.3242, allocations: 39.56 kB / 238.1 MB, free: 9.781 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.3243, allocations: 23.34 kB / 238.1 MB, free: 9.77 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3243, allocations: 4 kB / 238.1 MB, free: 9.766 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3243, allocations: 0 / 238.1 MB, free: 9.766 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3244, allocations: 3.984 kB / 238.1 MB, free: 9.762 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3266, allocations: 0.7244 MB / 238.8 MB, free: 9.113 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.3266, allocations: 0 / 238.8 MB, free: 9.113 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.3273, allocations: 59.97 kB / 238.9 MB, free: 9.055 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.3275, allocations: 24.45 kB / 238.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.3275, allocations: 7.875 kB / 238.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.3291, allocations: 1.27 MB / 240.2 MB, free: 7.672 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.3292, allocations: 0 / 240.2 MB, free: 7.672 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.3308, allocations: 488.5 kB / 240.6 MB, free: 7.246 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.3311, allocations: 120.6 kB / 240.8 MB, free: 7.117 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.592e-05/0.3312, allocations: 7.812 kB / 240.8 MB, free: 7.113 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.3317, allocations: 31.72 kB / 240.8 MB, free: 7.086 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.3319, allocations: 19.67 kB / 240.8 MB, free: 7.07 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.3319, allocations: 8 kB / 240.8 MB, free: 7.062 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000422/0.3323, allocations: 200.1 kB / 241 MB, free: 6.902 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3324, allocations: 0 / 241 MB, free: 6.902 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008864/0.3333, allocations: 75.69 kB / 241.1 MB, free: 6.836 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 () * Number of clocked 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.002165/0.3354, allocations: 1.157 MB / 242.3 MB, free: 5.727 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.3368, allocations: 336.1 kB / 242.6 MB, free: 5.434 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3368, allocations: 448 / 242.6 MB, free: 5.434 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007134/0.3376, allocations: 217.3 kB / 242.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.3384, allocations: 52.66 kB / 242.8 MB, free: 5.191 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.3427, allocations: 2.477 MB / 245.3 MB, free: 2.695 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.3433, allocations: 0.8025 MB / 246.1 MB, free: 1.867 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.3437, allocations: 116 kB / 246.2 MB, free: 1.836 MB / 186.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3437, allocations: 0 / 246.2 MB, free: 1.836 MB / 186.7 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: dcee.Jr.