Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.72/1.72, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004938, allocations: 8 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08229/0.08283, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/0.4559, allocations: 87.63 MB / 359.8 MB, free: 1.613 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.4562, allocations: 87.81 kB / 359.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1127/0.569, allocations: 26.29 MB / 386.1 MB, free: 11.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.516e-06/0.5691, allocations: 4 kB / 386.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001239/0.5692, allocations: 24 kB / 386.2 MB, free: 11.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.004495/0.5737, allocations: 1.246 MB / 387.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.5738, allocations: 8.031 kB / 387.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000449/0.5742, allocations: 150.7 kB / 387.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.5753, allocations: 166.5 kB / 387.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.5783, allocations: 0.7744 MB / 388.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.5785, allocations: 73.56 kB / 388.6 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.5788, allocations: 97.97 kB / 388.7 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003345/0.5821, allocations: 0.9134 MB / 389.6 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.366e-05/0.5822, allocations: 7.984 kB / 389.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.5824, allocations: 39.56 kB / 389.6 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.5825, allocations: 24 kB / 389.7 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.5854, allocations: 0.6354 MB / 390.3 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.5963, allocations: 3.942 MB / 394.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.5975, allocations: 354.5 kB / 394.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.5976, allocations: 8.281 kB / 394.6 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.5976, allocations: 34.84 kB / 394.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.817e-06/0.5977, allocations: 0 / 394.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.004847/0.6025, allocations: 1.239 MB / 395.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.6026, allocations: 84.97 kB / 395.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.6047, allocations: 0.6995 MB / 396.6 MB, free: 2.156 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/0.6048, allocations: 29.7 kB / 396.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007506/0.6056, allocations: 0.564 MB / 397.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.6058, allocations: 134.2 kB / 397.4 MB, free: 1.414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.6059, allocations: 12 kB / 397.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.6061, allocations: 334 kB / 397.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.6069, allocations: 153.9 kB / 397.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.6079, allocations: 468.1 kB / 398.3 MB, free: 332 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009096/0.6088, allocations: 235.3 kB / 398.5 MB, free: 96 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.6089, allocations: 4 kB / 398.6 MB, free: 92 kB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002627/0.6115, allocations: 0.7003 MB / 399.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.6116, allocations: 11.95 kB / 399.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.6116, allocations: 12 kB / 399.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.6119, allocations: 37.2 kB / 399.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.6132, allocations: 171.7 kB / 399.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.6149, allocations: 1.296 MB / 400.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.6163, allocations: 43.92 kB / 400.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/0.6164, allocations: 32 kB / 400.8 MB, free: 13.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (85): * Single equations (assignments): 84 * 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.000837/0.6173, allocations: 257.7 kB / 401.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.6175, allocations: 86.92 kB / 401.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.6192, allocations: 398.5 kB / 401.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.6192, allocations: 4 kB / 401.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6192, allocations: 0 / 401.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.6193, allocations: 7.875 kB / 401.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.6233, allocations: 1.267 MB / 402.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.6233, allocations: 0 / 402.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008711/0.6242, allocations: 79.89 kB / 402.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/0.6244, allocations: 24.78 kB / 403 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.6245, allocations: 15.95 kB / 403 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.6262, allocations: 1.272 MB / 404.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.6263, allocations: 8.031 kB / 404.3 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.6289, allocations: 0.7517 MB / 405 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.6296, allocations: 184.1 kB / 405.2 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.6298, allocations: 12 kB / 405.2 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/0.6307, allocations: 27.98 kB / 405.2 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.6308, allocations: 27.95 kB / 405.2 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.6309, allocations: 8 kB / 405.3 MB, free: 8.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001529/0.6324, allocations: 0.5341 MB / 405.8 MB, free: 8.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6325, allocations: 0 / 405.8 MB, free: 8.363 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001782/0.6343, allocations: 231.9 kB / 406 MB, free: 8.137 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (35): * Single equations (assignments): 34 * 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.003529/0.6378, allocations: 1.953 MB / 408 MB, free: 6.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.6399, allocations: 0.5315 MB / 408.5 MB, free: 5.562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.6399, allocations: 4.25 kB / 408.5 MB, free: 5.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.6408, allocations: 270.5 kB / 408.8 MB, free: 5.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.643, allocations: 195.8 kB / 409 MB, free: 5.094 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.6588, allocations: 11.81 MB / 420.8 MB, free: 8.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.6596, allocations: 1.012 MB / 421.8 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007551/0.6604, allocations: 114.8 kB / 421.9 MB, free: 7.766 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/0.661, allocations: 363.3 kB / 422.2 MB, free: 7.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6611, allocations: 0 / 422.2 MB, free: 7.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2796/0.9407, allocations: 19.14 MB / 441.4 MB, free: 95.21 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/0.9411, allocations: 207.2 kB / 441.6 MB, free: 94.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/4.022, allocations: 4 kB / 441.6 MB, free: 94.97 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat