Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003765, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09393, allocations: 44.5 MB / 308.5 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.417/0.511, allocations: 89.22 MB / 397.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5113, allocations: 87.58 kB / 397.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09193/0.6032, allocations: 23.81 MB / 421.7 MB, free: 6.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6033, allocations: 0 / 421.7 MB, free: 6.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.589e-05/0.6034, allocations: 25.22 kB / 421.7 MB, free: 6.805 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002602/0.606, allocations: 1.123 MB / 422.8 MB, free: 6.012 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.6061, allocations: 11.62 kB / 422.8 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002346/0.6063, allocations: 137.3 kB / 423 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006967/0.607, allocations: 159.1 kB / 423.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.6086, allocations: 0.674 MB / 423.8 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.6087, allocations: 57.31 kB / 423.8 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.6089, allocations: 93.03 kB / 423.9 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.6108, allocations: 0.8135 MB / 424.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.6109, allocations: 3.219 kB / 424.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.611, allocations: 33.31 kB / 424.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.611, allocations: 27.14 kB / 424.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.6127, allocations: 0.5527 MB / 425.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005862/0.6186, allocations: 3.507 MB / 428.9 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.6194, allocations: 248.4 kB / 429.1 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.6194, allocations: 3.906 kB / 429.1 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.6194, allocations: 37.25 kB / 429.2 MB, free: 2.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.896e-06/0.6195, allocations: 0 / 429.2 MB, free: 2.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002982/0.6225, allocations: 1.107 MB / 430.3 MB, free: 2.113 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.6225, allocations: 84.97 kB / 430.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.6238, allocations: 0.6908 MB / 431 MB, free: 1.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.6238, allocations: 28.77 kB / 431.1 MB, free: 1.762 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.6241, allocations: 0.5127 MB / 431.6 MB, free: 1.414 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6243, allocations: 109.4 kB / 431.7 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.6243, allocations: 12.75 kB / 431.7 MB, free: 1.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.6244, allocations: 342.5 kB / 432 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/0.6249, allocations: 132.2 kB / 432.2 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.6254, allocations: 424 kB / 432.6 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.626, allocations: 215.9 kB / 432.8 MB, free: 0.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.626, allocations: 3.938 kB / 432.8 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001455/0.6275, allocations: 0.5927 MB / 433.4 MB, free: 364 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6275, allocations: 6.844 kB / 433.4 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.6275, allocations: 11.62 kB / 433.4 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.6277, allocations: 39.91 kB / 433.4 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.6286, allocations: 145.6 kB / 433.6 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.6298, allocations: 1.295 MB / 434.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009271/0.6308, allocations: 42.39 kB / 434.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.6308, allocations: 38.11 kB / 435 MB, free: 15 MB / 330.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.0005524/0.6314, allocations: 234.5 kB / 435.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.6316, allocations: 81.8 kB / 435.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.6326, allocations: 359.2 kB / 435.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6327, allocations: 0 / 435.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6327, allocations: 3.844 kB / 435.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6327, allocations: 3.953 kB / 435.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.6352, allocations: 1.112 MB / 436.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6352, allocations: 3.875 kB / 436.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.6358, allocations: 62.64 kB / 436.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.6359, allocations: 24.06 kB / 436.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.6359, allocations: 10.56 kB / 436.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.6371, allocations: 1.279 MB / 438.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.6371, allocations: 3.875 kB / 438.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.6387, allocations: 0.6881 MB / 438.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.6392, allocations: 185.4 kB / 439 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.6393, allocations: 7.875 kB / 439 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.6399, allocations: 31.11 kB / 439 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/0.6401, allocations: 27.67 kB / 439 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.6401, allocations: 11.98 kB / 439.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001097/0.6412, allocations: 0.524 MB / 439.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6412, allocations: 0 / 439.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001266/0.6425, allocations: 214.5 kB / 439.8 MB, free: 11.57 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.002714/0.6452, allocations: 1.927 MB / 441.7 MB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.6467, allocations: 481.1 kB / 442.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6468, allocations: 3.938 kB / 442.2 MB, free: 9.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.6474, allocations: 257.7 kB / 442.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.6491, allocations: 209.2 kB / 442.7 MB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.6638, allocations: 11.11 MB / 453.8 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009587/0.6648, allocations: 0.9725 MB / 454.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008828/0.6657, allocations: 320.9 kB / 455 MB, free: 13.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6657, allocations: 0 / 455 MB, free: 13.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.95/3.616, allocations: 18.94 MB / 474 MB, free: 10.39 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat