Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.68/1.68, allocations: 171.2 MB / 186.8 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 11.98 kB / 233.3 MB, free: 0.8203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07893/0.0793, allocations: 38.77 MB / 272.1 MB, free: 9.973 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.4562, allocations: 84.11 MB / 356.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.4566, allocations: 87.94 kB / 356.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1443/0.6009, allocations: 23.88 MB / 380.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.6009, allocations: 0 / 380.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001159/0.6011, allocations: 27.94 kB / 380.2 MB, free: 6.711 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.004968/0.6061, allocations: 1.138 MB / 381.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/0.6062, allocations: 8.031 kB / 381.4 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005475/0.6067, allocations: 135.3 kB / 381.5 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.608, allocations: 154.6 kB / 381.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.6112, allocations: 0.6756 MB / 382.3 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.6114, allocations: 66 kB / 382.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.6117, allocations: 80 kB / 382.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.6154, allocations: 0.8145 MB / 383.3 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/0.6155, allocations: 3.906 kB / 383.3 MB, free: 3.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.6157, allocations: 36 kB / 383.3 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.6157, allocations: 20 kB / 383.3 MB, free: 3.453 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/0.6189, allocations: 0.5621 MB / 383.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.6307, allocations: 3.512 MB / 387.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.6321, allocations: 234.8 kB / 387.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.6322, allocations: 4 kB / 387.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.6323, allocations: 46.42 kB / 387.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 4.157e-06/0.6323, allocations: 0 / 387.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.00539/0.6377, allocations: 1.117 MB / 388.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.6378, allocations: 81.11 kB / 388.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.6402, allocations: 0.6878 MB / 389.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.874e-05/0.6404, allocations: 29.7 kB / 389.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/0.6411, allocations: 0.5125 MB / 390.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.6414, allocations: 110.5 kB / 390.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.6414, allocations: 19.94 kB / 390.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.6417, allocations: 334.8 kB / 390.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008239/0.6425, allocations: 129.2 kB / 390.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.6436, allocations: 426.3 kB / 391.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.6447, allocations: 207.9 kB / 391.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.6447, allocations: 4 kB / 391.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002776/0.6475, allocations: 0.5881 MB / 391.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.6476, allocations: 12.56 kB / 391.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/0.6477, allocations: 12 kB / 391.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.648, allocations: 32.84 kB / 392 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.6495, allocations: 151.7 kB / 392.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.6515, allocations: 1.292 MB / 393.4 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.6531, allocations: 48.05 kB / 393.4 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.6533, allocations: 32 kB / 393.5 MB, free: 8.668 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.0008528/0.6542, allocations: 245.5 kB / 393.7 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.6546, allocations: 75.06 kB / 393.8 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.6565, allocations: 355 kB / 394.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.6565, allocations: 0 / 394.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6566, allocations: 4 kB / 394.1 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.6566, allocations: 3.984 kB / 394.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004485/0.6611, allocations: 1.113 MB / 395.3 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.6612, allocations: 4 kB / 395.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008878/0.6621, allocations: 76.08 kB / 395.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.6623, allocations: 24.84 kB / 395.4 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.6624, allocations: 8 kB / 395.4 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.6643, allocations: 1.28 MB / 396.6 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-05/0.6643, allocations: 11.95 kB / 396.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.6669, allocations: 0.6774 MB / 397.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/0.6676, allocations: 184.1 kB / 397.5 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.6679, allocations: 8 kB / 397.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009695/0.6689, allocations: 23.98 kB / 397.5 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.6691, allocations: 31.92 kB / 397.6 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.6691, allocations: 12 kB / 397.6 MB, free: 4.211 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001737/0.6709, allocations: 0.5186 MB / 398.1 MB, free: 3.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.223e-06/0.6709, allocations: 0 / 398.1 MB, free: 3.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001957/0.6729, allocations: 211.9 kB / 398.3 MB, free: 3.488 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.004028/0.677, allocations: 1.927 MB / 400.2 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.6793, allocations: 480.4 kB / 400.7 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.6793, allocations: 0 / 400.7 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009705/0.6803, allocations: 254.4 kB / 401 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.6834, allocations: 219.1 kB / 401.2 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.7008, allocations: 11.11 MB / 412.3 MB, free: 5.086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.7015, allocations: 0.9761 MB / 413.3 MB, free: 4.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006285/0.7022, allocations: 319.3 kB / 413.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7022, allocations: 4 kB / 413.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.17/3.872, allocations: 18.94 MB / 432.5 MB, free: 98.34 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat