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.DCSE_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.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 1.062/1.062, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002694, allocations: 8 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05433/0.05463, allocations: 25.17 MB / 183.6 MB, free: 5.863 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.2925, allocations: 38.88 MB / 222.5 MB, free: 4.914 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.2928, allocations: 60.09 kB / 222.5 MB, free: 4.906 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02903/0.3219, allocations: 7.52 MB / 230.1 MB, free: 0.7148 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3219, allocations: 0 / 230.1 MB, free: 0.7148 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.322, allocations: 8 kB / 230.1 MB, free: 0.707 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001295/0.3233, allocations: 0.6389 MB / 230.7 MB, free: 44 kB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3233, allocations: 8.031 kB / 230.7 MB, free: 36 kB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.3235, allocations: 79.86 kB / 230.8 MB, free: 15.97 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.3236, allocations: 47.44 kB / 230.8 MB, free: 15.93 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.3242, allocations: 306 kB / 231.1 MB, free: 15.62 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.3242, allocations: 28.47 kB / 231.2 MB, free: 15.61 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.232e-05/0.3243, allocations: 35.19 kB / 231.2 MB, free: 15.59 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.3255, allocations: 388.6 kB / 231.6 MB, free: 15.31 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.3256, allocations: 9.391 kB / 231.6 MB, free: 15.3 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.3257, allocations: 15.56 kB / 231.6 MB, free: 15.3 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.3257, allocations: 15.95 kB / 231.6 MB, free: 15.28 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.3273, allocations: 271.6 kB / 231.9 MB, free: 15.1 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.3317, allocations: 1.278 MB / 233.2 MB, free: 14.02 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009318/0.3327, allocations: 216.1 kB / 233.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.3328, allocations: 8.141 kB / 233.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.3328, allocations: 34.38 kB / 233.4 MB, free: 13.82 MB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 3.968e-06/0.3328, allocations: 0 / 233.4 MB, free: 13.82 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.004499/0.3373, allocations: 0.8949 MB / 234.3 MB, free: 13.02 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.3375, allocations: 89.05 kB / 234.4 MB, free: 12.91 MB / 186.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.001036/0.3386, allocations: 242.6 kB / 234.6 MB, free: 12.7 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.3387, allocations: 32.77 kB / 234.7 MB, free: 12.67 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.3391, allocations: 273.3 kB / 234.9 MB, free: 12.43 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.3392, allocations: 87.36 kB / 235 MB, free: 12.36 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.3393, allocations: 3.062 kB / 235 MB, free: 12.36 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.3396, allocations: 325.8 kB / 235.3 MB, free: 12.04 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.3401, allocations: 76.94 kB / 235.4 MB, free: 11.98 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.3407, allocations: 142.3 kB / 235.5 MB, free: 11.86 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.3413, allocations: 108.4 kB / 235.7 MB, free: 11.79 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3413, allocations: 0 / 235.7 MB, free: 11.79 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001405/0.3427, allocations: 336.1 kB / 236 MB, free: 11.53 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.3428, allocations: 9.875 kB / 236 MB, free: 11.52 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3428, allocations: 0 / 236 MB, free: 11.52 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/0.3433, allocations: 55.81 kB / 236 MB, free: 11.47 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.3439, allocations: 58.5 kB / 236.1 MB, free: 11.42 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.3475, allocations: 2.796 MB / 238.9 MB, free: 8.527 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.348, allocations: 23.27 kB / 238.9 MB, free: 8.508 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.348, allocations: 11.06 kB / 238.9 MB, free: 8.5 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real dcse.airGapDC.psi_e:VARIABLE(unit = "Wb" fixed = true ) "Excitation flux" type: Real dcse.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: 6 * 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 (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.0003898/0.3484, allocations: 163.1 kB / 239.1 MB, free: 8.355 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.3485, allocations: 27.72 kB / 239.1 MB, free: 8.328 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/0.3486, allocations: 34.61 kB / 239.1 MB, free: 8.309 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3486, allocations: 4 kB / 239.2 MB, free: 8.305 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3486, allocations: 128 / 239.2 MB, free: 8.305 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.3486, allocations: 3.953 kB / 239.2 MB, free: 8.301 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.3504, allocations: 0.7685 MB / 239.9 MB, free: 7.629 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.3504, allocations: 4 kB / 239.9 MB, free: 7.625 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.3508, allocations: 39.97 kB / 240 MB, free: 7.586 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.3511, allocations: 68.19 kB / 240 MB, free: 7.527 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.3511, allocations: 0 / 240 MB, free: 7.527 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002893/0.3541, allocations: 2.807 MB / 242.8 MB, free: 4.625 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.3541, allocations: 4.031 kB / 242.8 MB, free: 4.621 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.3555, allocations: 0.5054 MB / 243.4 MB, free: 4.18 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.3557, allocations: 120.9 kB / 243.5 MB, free: 4.055 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.3557, allocations: 3.5 kB / 243.5 MB, free: 4.055 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.3562, allocations: 35.42 kB / 243.5 MB, free: 4.023 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.3563, allocations: 19.59 kB / 243.5 MB, free: 4.008 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.3563, allocations: 7.812 kB / 243.5 MB, free: 4.004 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.3566, allocations: 189 kB / 243.7 MB, free: 3.852 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3566, allocations: 0 / 243.7 MB, free: 3.852 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006687/0.3573, allocations: 78.69 kB / 243.8 MB, free: 3.785 MB / 186.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 () * Number of clocked 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.001763/0.3591, allocations: 1.199 MB / 245 MB, free: 2.648 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.3603, allocations: 475 kB / 245.5 MB, free: 2.227 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3604, allocations: 3.938 kB / 245.5 MB, free: 2.223 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000732/0.3611, allocations: 361 kB / 245.8 MB, free: 1.883 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.3618, allocations: 57.34 kB / 245.9 MB, free: 1.84 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.3648, allocations: 2.084 MB / 248 MB, free: 15.75 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.3653, allocations: 0.7948 MB / 248.8 MB, free: 14.93 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.3655, allocations: 112 kB / 248.9 MB, free: 14.9 MB / 202.7 MB Notification: Performance of SimCode: time 1.273e-06/0.3655, allocations: 4 kB / 248.9 MB, free: 14.9 MB / 202.7 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: dcse.Jr.