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.DCPM_Temperature.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.DCPM_Temperature,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.594/1.594, allocations: 171.2 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 16 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08551/0.0859, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.4929, allocations: 84.11 MB / 356.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.4932, allocations: 85 kB / 356.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1031/0.5964, allocations: 23.88 MB / 380.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5964, allocations: 0 / 380.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.754e-05/0.5965, allocations: 23.98 kB / 380.2 MB, free: 0.7617 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002952/0.5995, allocations: 1.146 MB / 381.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5995, allocations: 8.031 kB / 381.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002676/0.5998, allocations: 134.1 kB / 381.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007081/0.6005, allocations: 150.6 kB / 381.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.6023, allocations: 0.6796 MB / 382.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-05/0.6024, allocations: 69.62 kB / 382.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.6026, allocations: 84.75 kB / 382.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.6048, allocations: 0.8133 MB / 383.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.6049, allocations: 7.906 kB / 383.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.605, allocations: 37.44 kB / 383.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.6051, allocations: 20 kB / 383.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.6068, allocations: 0.5525 MB / 383.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006914/0.6137, allocations: 3.506 MB / 387.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008054/0.6146, allocations: 244.5 kB / 387.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.6147, allocations: 0 / 387.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.6147, allocations: 46.48 kB / 387.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 4.068e-06/0.6147, allocations: 0 / 387.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.003425/0.6182, allocations: 1.118 MB / 388.8 MB, free: 9.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.6183, allocations: 81.11 kB / 388.9 MB, free: 9.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.6197, allocations: 0.6896 MB / 389.6 MB, free: 8.824 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.6197, allocations: 29.45 kB / 389.6 MB, free: 8.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/0.6202, allocations: 0.5029 MB / 390.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.6204, allocations: 107.1 kB / 390.2 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.6204, allocations: 8.75 kB / 390.2 MB, free: 8.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.6206, allocations: 336.8 kB / 390.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.6211, allocations: 134.2 kB / 390.7 MB, free: 7.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.6218, allocations: 423.6 kB / 391.1 MB, free: 7.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.6225, allocations: 208.3 kB / 391.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.6225, allocations: 4 kB / 391.3 MB, free: 7.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001931/0.6244, allocations: 0.6444 MB / 392 MB, free: 6.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.6245, allocations: 8 kB / 392 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.6245, allocations: 8 kB / 392 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.6247, allocations: 32.86 kB / 392 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.6256, allocations: 147.7 kB / 392.2 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.6271, allocations: 1.311 MB / 393.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009591/0.6281, allocations: 44.14 kB / 393.5 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/0.6282, allocations: 28 kB / 393.5 MB, free: 5.012 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (75): * Single equations (assignments): 74 * 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.0005808/0.6288, allocations: 241.5 kB / 393.8 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.6289, allocations: 79.06 kB / 393.9 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.6301, allocations: 362.8 kB / 394.2 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6301, allocations: 4 kB / 394.2 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6301, allocations: 3.984 kB / 394.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6302, allocations: 0 / 394.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.6329, allocations: 1.106 MB / 395.3 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.633, allocations: 0 / 395.3 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.6336, allocations: 75.84 kB / 395.4 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.6338, allocations: 29 kB / 395.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.6339, allocations: 8 kB / 395.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.6352, allocations: 1.276 MB / 396.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6352, allocations: 3.938 kB / 396.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.637, allocations: 0.6853 MB / 397.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.6374, allocations: 184.1 kB / 397.6 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.6376, allocations: 8 kB / 397.6 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.6382, allocations: 27.92 kB / 397.6 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6383, allocations: 23.92 kB / 397.6 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.6384, allocations: 15.98 kB / 397.7 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.6395, allocations: 0.5264 MB / 398.2 MB, free: 36 kB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6395, allocations: 0 / 398.2 MB, free: 36 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.001158/0.6407, allocations: 208 kB / 398.4 MB, free: 15.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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 (28): * Single equations (assignments): 27 * 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.002672/0.6434, allocations: 1.928 MB / 400.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.6449, allocations: 476.6 kB / 400.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6449, allocations: 4.062 kB / 400.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.6455, allocations: 249.7 kB / 401 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.6472, allocations: 215.6 kB / 401.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.6613, allocations: 11.09 MB / 412.3 MB, free: 1.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/0.6621, allocations: 0.98 MB / 413.3 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006784/0.6628, allocations: 102.7 kB / 413.4 MB, free: 364 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005986/0.6634, allocations: 315.3 kB / 413.7 MB, free: 48 kB / 330.7 MB Notification: Performance of SimCode: time 3.437e-06/0.6634, allocations: 0 / 413.7 MB, free: 48 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3179/0.9814, allocations: 19.21 MB / 432.9 MB, free: 99.55 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.9817, allocations: 222.1 kB / 433.1 MB, free: 99.31 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.383/4.365, allocations: 0.5312 kB / 433.1 MB, free: 99.31 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat