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.162/1.162, allocations: 111.1 MB / 126.7 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002869, allocations: 8 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05661/0.05693, allocations: 25.17 MB / 183.5 MB, free: 5.918 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCSE_Start): time 0.004936/0.06192, allocations: 2.682 MB / 186.2 MB, free: 3.227 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.06378, allocations: 0.6791 MB / 186.9 MB, free: 2.547 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.06406, allocations: 11.94 kB / 186.9 MB, free: 2.535 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.0642, allocations: 43.66 kB / 186.9 MB, free: 2.492 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.06472, allocations: 147.5 kB / 187.1 MB, free: 2.348 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.06499, allocations: 71.91 kB / 187.1 MB, free: 2.277 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006072/0.06561, allocations: 335.3 kB / 187.5 MB, free: 1.949 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.066, allocations: 149 kB / 187.6 MB, free: 1.793 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.06638, allocations: 147.5 kB / 187.8 MB, free: 1.648 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.06673, allocations: 175.2 kB / 187.9 MB, free: 1.477 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.06681, allocations: 24 kB / 188 MB, free: 1.453 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.717e-05/0.06692, allocations: 20 kB / 188 MB, free: 1.434 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.06703, allocations: 67.69 kB / 188 MB, free: 1.367 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.06717, allocations: 101.5 kB / 188.1 MB, free: 1.262 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.06786, allocations: 430.8 kB / 188.6 MB, free: 0.8398 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.06788, allocations: 0 / 188.6 MB, free: 0.8398 MB / 154.7 MB Notification: Performance of FrontEnd: time 4.619e-06/0.0679, allocations: 4 kB / 188.6 MB, free: 0.8359 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.06792, allocations: 3.938 kB / 188.6 MB, free: 0.832 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001667/0.0696, allocations: 0.6355 MB / 189.2 MB, free: 152 kB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.06967, allocations: 8.031 kB / 189.2 MB, free: 144 kB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.06984, allocations: 78.53 kB / 189.3 MB, free: 56 kB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.06997, allocations: 39.53 kB / 189.3 MB, free: 16 kB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007183/0.0707, allocations: 317.1 kB / 189.6 MB, free: 15.67 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.07076, allocations: 32.94 kB / 189.7 MB, free: 15.64 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.663e-05/0.07087, allocations: 43.91 kB / 189.7 MB, free: 15.59 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.07203, allocations: 409.5 kB / 190.1 MB, free: 15.16 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.07209, allocations: 3.984 kB / 190.1 MB, free: 15.16 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.07216, allocations: 20 kB / 190.1 MB, free: 15.14 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.07219, allocations: 12 kB / 190.1 MB, free: 15.13 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.07317, allocations: 259.9 kB / 190.4 MB, free: 14.88 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.07636, allocations: 1.404 MB / 191.8 MB, free: 13.38 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.07713, allocations: 211 kB / 192 MB, free: 13.17 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.07717, allocations: 192 / 192 MB, free: 13.17 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/0.07725, allocations: 42.75 kB / 192.1 MB, free: 13.12 MB / 170.7 MB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.07726, allocations: 0 / 192.1 MB, free: 13.12 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.003014/0.08028, allocations: 0.8902 MB / 192.9 MB, free: 12.16 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.08039, allocations: 81.11 kB / 193 MB, free: 12.06 MB / 170.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.0005644/0.08097, allocations: 262.5 kB / 193.3 MB, free: 11.79 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.08102, allocations: 25.7 kB / 193.3 MB, free: 11.76 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.08125, allocations: 274.2 kB / 193.6 MB, free: 11.49 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/0.08136, allocations: 82.75 kB / 193.7 MB, free: 11.41 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.08139, allocations: 8 kB / 193.7 MB, free: 11.4 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.08156, allocations: 322.8 kB / 194 MB, free: 11.07 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.08192, allocations: 80.23 kB / 194.1 MB, free: 11 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.08233, allocations: 148.2 kB / 194.2 MB, free: 10.82 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.08273, allocations: 92.02 kB / 194.3 MB, free: 10.73 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.08275, allocations: 4 kB / 194.3 MB, free: 10.73 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001093/0.08385, allocations: 334.7 kB / 194.6 MB, free: 10.39 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.0839, allocations: 5.875 kB / 194.6 MB, free: 10.39 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.08392, allocations: 3.938 kB / 194.6 MB, free: 10.38 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003421/0.08427, allocations: 61.69 kB / 194.7 MB, free: 10.32 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.08469, allocations: 56.09 kB / 194.7 MB, free: 10.26 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.08809, allocations: 2.802 MB / 197.5 MB, free: 7.188 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.08854, allocations: 24.05 kB / 197.6 MB, free: 7.164 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.08859, allocations: 12 kB / 197.6 MB, free: 7.152 MB / 170.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: 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 (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.0003817/0.08898, allocations: 162.7 kB / 197.7 MB, free: 6.984 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.08907, allocations: 27.72 kB / 197.8 MB, free: 6.957 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/0.08915, allocations: 30.14 kB / 197.8 MB, free: 6.934 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.08917, allocations: 7.938 kB / 197.8 MB, free: 6.926 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.08919, allocations: 0 / 197.8 MB, free: 6.926 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.08921, allocations: 4.172 kB / 197.8 MB, free: 6.922 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.09115, allocations: 0.7592 MB / 198.6 MB, free: 6.094 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.09119, allocations: 0 / 198.6 MB, free: 6.094 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.09164, allocations: 51.91 kB / 198.6 MB, free: 6.043 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/0.09196, allocations: 61.75 kB / 198.7 MB, free: 5.977 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.09201, allocations: 4 kB / 198.7 MB, free: 5.973 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.0953, allocations: 2.798 MB / 201.5 MB, free: 2.898 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.09536, allocations: 4.031 kB / 201.5 MB, free: 2.895 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.09678, allocations: 494.8 kB / 202 MB, free: 2.383 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.09697, allocations: 120.7 kB / 202.1 MB, free: 2.246 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.09707, allocations: 12 kB / 202.1 MB, free: 2.234 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.09741, allocations: 19.98 kB / 202.1 MB, free: 2.215 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.09752, allocations: 23.86 kB / 202.1 MB, free: 2.191 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.09756, allocations: 8 kB / 202.1 MB, free: 2.184 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002871/0.09785, allocations: 178 kB / 202.3 MB, free: 2.012 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.09786, allocations: 0 / 202.3 MB, free: 2.012 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006777/0.09855, allocations: 76 kB / 202.4 MB, free: 1.938 MB / 170.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.001813/0.1004, allocations: 1.037 MB / 203.4 MB, free: 0.8633 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.1017, allocations: 482.2 kB / 203.9 MB, free: 372 kB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1018, allocations: 448 / 203.9 MB, free: 372 kB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1423/0.2441, allocations: 351.4 kB / 204.2 MB, free: 23.44 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007234/0.2449, allocations: 39.56 kB / 204.3 MB, free: 23.44 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.2477, allocations: 1.327 MB / 205.6 MB, free: 22.64 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.2481, allocations: 0.7969 MB / 206.4 MB, free: 21.94 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.2484, allocations: 116.2 kB / 206.5 MB, free: 21.93 MB / 170.7 MB Notification: Performance of SimCode: time 3.066e-06/0.2484, allocations: 2.344 kB / 206.5 MB, free: 21.93 MB / 170.7 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: dcse.Jr.