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.171/1.171, allocations: 111.2 MB / 124.2 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.235e-05, allocations: 4 kB / 154.4 MB, free: 13.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 25.15 MB / 179.5 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07223/0.2759, allocations: 38.9 MB / 218.4 MB, free: 10.18 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.2762, allocations: 63.97 kB / 218.5 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03432/0.3106, allocations: 7.806 MB / 226.3 MB, free: 2.285 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.869e-06/0.3106, allocations: 3.984 kB / 226.3 MB, free: 2.281 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.346e-05/0.3107, allocations: 8 kB / 226.3 MB, free: 2.273 MB / 186.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.001454/0.3122, allocations: 0.6154 MB / 226.9 MB, free: 1.613 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.3122, allocations: 15.97 kB / 226.9 MB, free: 1.598 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.3124, allocations: 82.52 kB / 227 MB, free: 1.508 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.3125, allocations: 47.44 kB / 227.1 MB, free: 1.461 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.3132, allocations: 301.4 kB / 227.3 MB, free: 1.129 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.3132, allocations: 29 kB / 227.4 MB, free: 1.098 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.3134, allocations: 44 kB / 227.4 MB, free: 1.055 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3144, allocations: 382.2 kB / 227.8 MB, free: 0.6719 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.3144, allocations: 7.953 kB / 227.8 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.3145, allocations: 16 kB / 227.8 MB, free: 0.6484 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.3145, allocations: 15.94 kB / 227.8 MB, free: 0.6328 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/0.3153, allocations: 240 kB / 228.1 MB, free: 404 kB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.3187, allocations: 1.36 MB / 229.4 MB, free: 14.95 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.3193, allocations: 174.5 kB / 229.6 MB, free: 14.77 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.3195, allocations: 76.84 kB / 229.7 MB, free: 14.69 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3195, allocations: 4 kB / 229.7 MB, free: 14.68 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3196, allocations: 34.56 kB / 229.7 MB, free: 14.64 MB / 202.7 MB Notification: Performance of pre-optimization done (n=20): time 2.996e-06/0.3196, allocations: 0 / 229.7 MB, free: 14.64 MB / 202.7 MB Notification: Performance of matching and sorting (n=21): time 0.001518/0.3211, allocations: 0.5711 MB / 230.3 MB, free: 14.01 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.3212, allocations: 77.3 kB / 230.4 MB, free: 13.92 MB / 202.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.0006259/0.3219, allocations: 276.5 kB / 230.6 MB, free: 13.64 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.3219, allocations: 29.7 kB / 230.7 MB, free: 13.61 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.3221, allocations: 282.2 kB / 230.9 MB, free: 13.33 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.3222, allocations: 74.91 kB / 231 MB, free: 13.26 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.3223, allocations: 4 kB / 231 MB, free: 13.25 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3224, allocations: 330.7 kB / 231.3 MB, free: 12.92 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3226, allocations: 56.28 kB / 231.4 MB, free: 12.86 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.3229, allocations: 120.5 kB / 231.5 MB, free: 12.72 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.3231, allocations: 72.56 kB / 231.6 MB, free: 12.65 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3231, allocations: 0 / 231.6 MB, free: 12.65 MB / 202.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007108/0.3239, allocations: 258.1 kB / 231.8 MB, free: 12.39 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3239, allocations: 9.203 kB / 231.8 MB, free: 12.38 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3239, allocations: 0 / 231.8 MB, free: 12.38 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.3241, allocations: 33.31 kB / 231.9 MB, free: 12.34 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.3247, allocations: 67.97 kB / 231.9 MB, free: 12.28 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.3261, allocations: 1.272 MB / 233.2 MB, free: 10.88 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.3265, allocations: 23.98 kB / 233.2 MB, free: 10.85 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.3266, allocations: 8 kB / 233.2 MB, free: 10.84 MB / 202.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.0002215/0.3268, allocations: 133.9 kB / 233.4 MB, free: 10.71 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.3269, allocations: 27.67 kB / 233.4 MB, free: 10.68 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.886e-05/0.327, allocations: 33.88 kB / 233.4 MB, free: 10.64 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.327, allocations: 4 kB / 233.4 MB, free: 10.64 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.327, allocations: 0 / 233.4 MB, free: 10.64 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3271, allocations: 3.984 kB / 233.4 MB, free: 10.64 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.3285, allocations: 0.6737 MB / 234.1 MB, free: 9.898 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.3285, allocations: 4 kB / 234.1 MB, free: 9.895 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.329, allocations: 51.91 kB / 234.2 MB, free: 9.844 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.3292, allocations: 20.86 kB / 234.2 MB, free: 9.82 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.3293, allocations: 7.984 kB / 234.2 MB, free: 9.812 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.3306, allocations: 1.284 MB / 235.5 MB, free: 8.395 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3307, allocations: 0 / 235.5 MB, free: 8.395 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008872/0.3316, allocations: 401.7 kB / 235.9 MB, free: 7.965 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.3318, allocations: 116.8 kB / 236 MB, free: 7.832 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.3319, allocations: 11.95 kB / 236 MB, free: 7.82 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.3323, allocations: 27.98 kB / 236 MB, free: 7.793 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.3324, allocations: 15.97 kB / 236 MB, free: 7.777 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.3324, allocations: 8 kB / 236 MB, free: 7.77 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003353/0.3328, allocations: 199.1 kB / 236.2 MB, free: 7.57 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3328, allocations: 0 / 236.2 MB, free: 7.57 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005578/0.3333, allocations: 76 kB / 236.3 MB, free: 7.496 MB / 202.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.001358/0.3347, allocations: 1.082 MB / 237.4 MB, free: 6.375 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.000811/0.3356, allocations: 286.4 kB / 237.7 MB, free: 6.082 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3356, allocations: 0 / 237.7 MB, free: 6.082 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.336, allocations: 186.6 kB / 237.9 MB, free: 5.887 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.3367, allocations: 57.41 kB / 237.9 MB, free: 5.828 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.339, allocations: 0.7404 MB / 238.7 MB, free: 5.039 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.3397, allocations: 0.811 MB / 239.5 MB, free: 4.203 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.34, allocations: 119.4 kB / 239.6 MB, free: 4.086 MB / 202.7 MB Notification: Performance of SimCode: time 1.593e-06/0.34, allocations: 0 / 239.6 MB, free: 4.086 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.025/3.365, allocations: 6.978 MB / 246.6 MB, free: 52.18 MB / 202.7 MB