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.282/1.282, allocations: 111.1 MB / 126.7 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002859, allocations: 4 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0586/0.05892, allocations: 25.18 MB / 183.5 MB, free: 5.914 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCEE_Start): time 0.005333/0.06432, allocations: 2.791 MB / 186.3 MB, free: 3.117 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.06628, allocations: 0.6979 MB / 187 MB, free: 2.418 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.06667, allocations: 8 kB / 187 MB, free: 2.41 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.06683, allocations: 59.52 kB / 187.1 MB, free: 2.352 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.06739, allocations: 155.6 kB / 187.2 MB, free: 2.199 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.06765, allocations: 71.92 kB / 187.3 MB, free: 2.129 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.06834, allocations: 347.3 kB / 187.6 MB, free: 1.789 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.06874, allocations: 154 kB / 187.8 MB, free: 1.633 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.06913, allocations: 155.4 kB / 187.9 MB, free: 1.48 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.06945, allocations: 183.2 kB / 188.1 MB, free: 1.301 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.06954, allocations: 24 kB / 188.1 MB, free: 1.277 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/0.06965, allocations: 24 kB / 188.2 MB, free: 1.254 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-05/0.06974, allocations: 71.73 kB / 188.2 MB, free: 1.184 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.06989, allocations: 109.5 kB / 188.3 MB, free: 1.07 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.07055, allocations: 446.7 kB / 188.8 MB, free: 0.6328 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.07057, allocations: 0 / 188.8 MB, free: 0.6328 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.07058, allocations: 0 / 188.8 MB, free: 0.6328 MB / 154.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.0706, allocations: 0 / 188.8 MB, free: 0.6328 MB / 154.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.001606/0.07221, allocations: 0.6628 MB / 189.4 MB, free: 15.92 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.0723, allocations: 12.03 kB / 189.4 MB, free: 15.91 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.07246, allocations: 82.52 kB / 189.5 MB, free: 15.82 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.0726, allocations: 47.44 kB / 189.6 MB, free: 15.77 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.07325, allocations: 326.3 kB / 189.9 MB, free: 15.42 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.07331, allocations: 29 kB / 189.9 MB, free: 15.39 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.07343, allocations: 43.91 kB / 190 MB, free: 15.34 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.07463, allocations: 441.4 kB / 190.4 MB, free: 14.89 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.07467, allocations: 3.984 kB / 190.4 MB, free: 14.88 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.07474, allocations: 16 kB / 190.4 MB, free: 14.87 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.07477, allocations: 12 kB / 190.4 MB, free: 14.86 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.07581, allocations: 291.8 kB / 190.7 MB, free: 14.57 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.07894, allocations: 1.47 MB / 192.2 MB, free: 13 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.07969, allocations: 190.5 kB / 192.4 MB, free: 12.81 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.07974, allocations: 7.938 kB / 192.4 MB, free: 12.8 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.07978, allocations: 34.56 kB / 192.4 MB, free: 12.76 MB / 170.7 MB Notification: Performance of pre-optimization done (n=20): time 2.986e-06/0.07979, allocations: 0 / 192.4 MB, free: 12.76 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.002692/0.08249, allocations: 0.8234 MB / 193.2 MB, free: 11.86 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.08261, allocations: 85.09 kB / 193.3 MB, free: 11.76 MB / 170.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.0006361/0.08326, allocations: 297 kB / 193.6 MB, free: 11.46 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.08332, allocations: 25.7 kB / 193.6 MB, free: 11.43 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.08355, allocations: 286.2 kB / 193.9 MB, free: 11.14 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.86e-05/0.08365, allocations: 78.89 kB / 194 MB, free: 11.07 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.08367, allocations: 4 kB / 194 MB, free: 11.06 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.08382, allocations: 318.8 kB / 194.3 MB, free: 10.74 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.08418, allocations: 76.23 kB / 194.4 MB, free: 10.67 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.08463, allocations: 157.9 kB / 194.5 MB, free: 10.48 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.08504, allocations: 102.5 kB / 194.6 MB, free: 10.38 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.08505, allocations: 0 / 194.6 MB, free: 10.38 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009831/0.08605, allocations: 298.1 kB / 194.9 MB, free: 10.08 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.08609, allocations: 8 kB / 194.9 MB, free: 10.07 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.08611, allocations: 4 kB / 194.9 MB, free: 10.07 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.08632, allocations: 20.84 kB / 195 MB, free: 10.05 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.0868, allocations: 76.16 kB / 195 MB, free: 9.973 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.08818, allocations: 1.277 MB / 196.3 MB, free: 8.566 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.0886, allocations: 24.02 kB / 196.3 MB, free: 8.543 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.08864, allocations: 8 kB / 196.3 MB, free: 8.535 MB / 170.7 MB Warning: Assuming fixed start value for the following 4 variables: loadInertia.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: 10 * 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.0004072/0.08906, allocations: 186.8 kB / 196.5 MB, free: 8.344 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.08914, allocations: 27.66 kB / 196.5 MB, free: 8.316 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.08923, allocations: 26.2 kB / 196.6 MB, free: 8.289 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.08925, allocations: 7.984 kB / 196.6 MB, free: 8.281 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.08926, allocations: 0 / 196.6 MB, free: 8.281 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.08928, allocations: 7.922 kB / 196.6 MB, free: 8.273 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.091, allocations: 0.7154 MB / 197.3 MB, free: 7.492 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.09103, allocations: 0 / 197.3 MB, free: 7.492 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.09154, allocations: 52.03 kB / 197.4 MB, free: 7.441 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.0917, allocations: 28.78 kB / 197.4 MB, free: 7.41 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.09173, allocations: 0 / 197.4 MB, free: 7.41 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.09311, allocations: 1.281 MB / 198.7 MB, free: 6 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.09314, allocations: 0 / 198.7 MB, free: 6 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.09444, allocations: 457.1 kB / 199.1 MB, free: 5.531 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.09464, allocations: 116.8 kB / 199.2 MB, free: 5.398 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.09472, allocations: 7.953 kB / 199.2 MB, free: 5.391 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.09505, allocations: 19.98 kB / 199.2 MB, free: 5.371 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.09515, allocations: 19.91 kB / 199.3 MB, free: 5.352 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.09518, allocations: 8 kB / 199.3 MB, free: 5.344 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.000312/0.0955, allocations: 194 kB / 199.5 MB, free: 5.152 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.09551, allocations: 4 kB / 199.5 MB, free: 5.148 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005492/0.09607, allocations: 72 kB / 199.5 MB, free: 5.078 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (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.001712/0.09779, allocations: 0.9868 MB / 200.5 MB, free: 4.055 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.09899, allocations: 330.9 kB / 200.8 MB, free: 3.719 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.09904, allocations: 0 / 200.8 MB, free: 3.719 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.09962, allocations: 218.5 kB / 201.1 MB, free: 3.492 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.1002, allocations: 45 kB / 201.1 MB, free: 3.445 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.1031, allocations: 1.434 MB / 202.5 MB, free: 1.922 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.1037, allocations: 0.8025 MB / 203.3 MB, free: 1.094 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.1039, allocations: 123.4 kB / 203.5 MB, free: 0.9727 MB / 170.7 MB Notification: Performance of SimCode: time 1.683e-06/0.104, allocations: 0 / 203.5 MB, free: 0.9727 MB / 170.7 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: dcee.Jr.