Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005349/0.000535, allocations: 8 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.31, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.4967, allocations: 89.23 MB / 397.8 MB, free: 3.293 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.497, allocations: 83.95 kB / 397.9 MB, free: 3.211 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.371/0.8681, allocations: 23.8 MB / 421.7 MB, free: 86.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.8681, allocations: 0 / 421.7 MB, free: 86.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.05e-05/0.8682, allocations: 18.28 kB / 421.7 MB, free: 86.97 MB / 346.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.002639/0.8708, allocations: 1.131 MB / 422.8 MB, free: 86.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.8709, allocations: 11.81 kB / 422.9 MB, free: 86.31 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.8712, allocations: 137.6 kB / 423 MB, free: 86.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006572/0.8718, allocations: 152 kB / 423.1 MB, free: 86.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.8735, allocations: 0.6769 MB / 423.8 MB, free: 85.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.8736, allocations: 64.78 kB / 423.9 MB, free: 85.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.8737, allocations: 97.12 kB / 424 MB, free: 85.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.8757, allocations: 0.814 MB / 424.8 MB, free: 85.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.8758, allocations: 0 / 424.8 MB, free: 85.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.8759, allocations: 35 kB / 424.8 MB, free: 85.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.8759, allocations: 21.66 kB / 424.8 MB, free: 85.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.8775, allocations: 0.5555 MB / 425.4 MB, free: 85.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005874/0.8834, allocations: 3.504 MB / 428.9 MB, free: 84.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007655/0.8842, allocations: 249.2 kB / 429.1 MB, free: 84.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.8843, allocations: 0 / 429.1 MB, free: 84.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.8843, allocations: 38.39 kB / 429.2 MB, free: 84.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 2.766e-06/0.8844, allocations: 3.656 kB / 429.2 MB, free: 84.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.003247/0.8876, allocations: 1.109 MB / 430.3 MB, free: 83.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.8877, allocations: 84.39 kB / 430.4 MB, free: 83.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.8889, allocations: 0.6929 MB / 431.1 MB, free: 83.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.889, allocations: 33.08 kB / 431.1 MB, free: 83.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.8893, allocations: 0.4998 MB / 431.6 MB, free: 82.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/0.8894, allocations: 104.7 kB / 431.7 MB, free: 82.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.8895, allocations: 15.66 kB / 431.7 MB, free: 82.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.8896, allocations: 329 kB / 432 MB, free: 82.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.89, allocations: 140.6 kB / 432.2 MB, free: 82.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.8906, allocations: 424.2 kB / 432.6 MB, free: 81.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.8912, allocations: 208.1 kB / 432.8 MB, free: 81.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.8912, allocations: 7.797 kB / 432.8 MB, free: 81.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001649/0.8929, allocations: 0.6432 MB / 433.4 MB, free: 81.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.8929, allocations: 12.16 kB / 433.5 MB, free: 81.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.8929, allocations: 10.75 kB / 433.5 MB, free: 81.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.8931, allocations: 40.06 kB / 433.5 MB, free: 81.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.894, allocations: 151.8 kB / 433.7 MB, free: 81.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009782/0.895, allocations: 1.287 MB / 434.9 MB, free: 80.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008888/0.8959, allocations: 39.98 kB / 435 MB, free: 80.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/0.896, allocations: 30.22 kB / 435 MB, free: 80.03 MB / 346.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.0004892/0.8965, allocations: 244.1 kB / 435.2 MB, free: 79.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.8966, allocations: 84.78 kB / 435.3 MB, free: 79.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.8977, allocations: 353.2 kB / 435.7 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.8977, allocations: 3.844 kB / 435.7 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8977, allocations: 0 / 435.7 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.8977, allocations: 0 / 435.7 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.9003, allocations: 1.123 MB / 436.8 MB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.9004, allocations: 0 / 436.8 MB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.9009, allocations: 69.61 kB / 436.9 MB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.9011, allocations: 23.36 kB / 436.9 MB, free: 78.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.9011, allocations: 11.61 kB / 436.9 MB, free: 78.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008829/0.902, allocations: 1.277 MB / 438.2 MB, free: 77.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.902, allocations: 3.938 kB / 438.2 MB, free: 77.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.9035, allocations: 0.6914 MB / 438.9 MB, free: 77.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.9039, allocations: 177.8 kB / 439 MB, free: 76.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.904, allocations: 11.28 kB / 439.1 MB, free: 76.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.9046, allocations: 25.81 kB / 439.1 MB, free: 76.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.9047, allocations: 31.58 kB / 439.1 MB, free: 76.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.9048, allocations: 8.969 kB / 439.1 MB, free: 76.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009496/0.9057, allocations: 0.5271 MB / 439.7 MB, free: 76.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9058, allocations: 0 / 439.7 MB, free: 76.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001093/0.9069, allocations: 207.6 kB / 439.9 MB, free: 76.69 MB / 346.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.00219/0.9091, allocations: 1.931 MB / 441.8 MB, free: 75.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.9105, allocations: 480 kB / 442.3 MB, free: 74.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.9105, allocations: 0 / 442.3 MB, free: 74.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005671/0.9111, allocations: 254.8 kB / 442.5 MB, free: 74.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.9127, allocations: 219.8 kB / 442.7 MB, free: 74.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.9234, allocations: 11.07 MB / 453.8 MB, free: 64.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.9239, allocations: 0.9741 MB / 454.8 MB, free: 64.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006879/0.9246, allocations: 97.78 kB / 454.9 MB, free: 64.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.9251, allocations: 315.7 kB / 455.2 MB, free: 63.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9252, allocations: 7.938 kB / 455.2 MB, free: 63.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07724/1.002, allocations: 19.21 MB / 474.4 MB, free: 46.73 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/1.003, allocations: 222.4 kB / 474.6 MB, free: 46.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.45/4.453, allocations: 0 / 474.6 MB, free: 46.48 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat