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.DCEE_Start.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.DCEE_Start,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.956/1.956, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004761, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09606, allocations: 44.51 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.5581, allocations: 92.77 MB / 401.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.5584, allocations: 88.38 kB / 401.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09704/0.6555, allocations: 26.17 MB / 427.6 MB, free: 4.684 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6556, allocations: 0 / 427.6 MB, free: 4.684 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.51e-05/0.6556, allocations: 34.88 kB / 427.6 MB, free: 4.676 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.00295/0.6586, allocations: 1.237 MB / 428.8 MB, free: 3.816 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.6587, allocations: 7.844 kB / 428.8 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003292/0.659, allocations: 151.1 kB / 429 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.6598, allocations: 175.5 kB / 429.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.6618, allocations: 0.7735 MB / 429.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.6619, allocations: 74.62 kB / 430 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.6621, allocations: 93.22 kB / 430.1 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.6643, allocations: 0.9162 MB / 431 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/0.6644, allocations: 7.781 kB / 431 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.6645, allocations: 38.81 kB / 431.1 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.6646, allocations: 23.16 kB / 431.1 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.6664, allocations: 0.6319 MB / 431.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006855/0.6733, allocations: 3.947 MB / 435.7 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009004/0.6742, allocations: 362.2 kB / 436 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.6743, allocations: 8.188 kB / 436 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.6744, allocations: 34.84 kB / 436.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.6744, allocations: 4 kB / 436.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.003691/0.6781, allocations: 1.253 MB / 437.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.6782, allocations: 81.11 kB / 437.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.6797, allocations: 0.6876 MB / 438.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/0.6798, allocations: 29.02 kB / 438.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004781/0.6803, allocations: 0.5782 MB / 438.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.6804, allocations: 129.2 kB / 438.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.6805, allocations: 16.44 kB / 438.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6806, allocations: 332 kB / 439.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.6812, allocations: 163.7 kB / 439.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.682, allocations: 464.9 kB / 439.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.6827, allocations: 230.7 kB / 440 MB, free: 12.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.6827, allocations: 7.938 kB / 440 MB, free: 12.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001773/0.6845, allocations: 0.6453 MB / 440.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.6846, allocations: 12.62 kB / 440.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.6846, allocations: 8 kB / 440.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.6848, allocations: 32.23 kB / 440.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000972/0.6858, allocations: 166 kB / 440.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.6871, allocations: 1.298 MB / 442.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009769/0.6881, allocations: 46.7 kB / 442.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.6882, allocations: 35.19 kB / 442.2 MB, free: 10.08 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.0006673/0.6889, allocations: 261.5 kB / 442.5 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.6891, allocations: 82.97 kB / 442.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.6903, allocations: 396.2 kB / 443 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6904, allocations: 7.938 kB / 443 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6904, allocations: 0 / 443 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6904, allocations: 0 / 443 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.6934, allocations: 1.268 MB / 444.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.6934, allocations: 0 / 444.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.6941, allocations: 83.42 kB / 444.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.6942, allocations: 24.09 kB / 444.3 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.6943, allocations: 11.06 kB / 444.4 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.6955, allocations: 1.277 MB / 445.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.6955, allocations: 4.031 kB / 445.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.6973, allocations: 0.7436 MB / 446.4 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.6978, allocations: 190.3 kB / 446.6 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.6979, allocations: 7.562 kB / 446.6 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006576/0.6986, allocations: 23.3 kB / 446.6 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.6987, allocations: 37.31 kB / 446.6 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.6988, allocations: 11.25 kB / 446.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.6999, allocations: 0.5275 MB / 447.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6999, allocations: 0 / 447.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001314/0.7012, allocations: 227.1 kB / 447.4 MB, free: 5.504 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.002769/0.704, allocations: 1.959 MB / 449.4 MB, free: 3.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.7056, allocations: 0.5222 MB / 449.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7056, allocations: 0 / 449.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.7063, allocations: 272 kB / 450.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.708, allocations: 202.3 kB / 450.3 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/0.7231, allocations: 11.86 MB / 462.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/0.7239, allocations: 1.012 MB / 463.2 MB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007657/0.7247, allocations: 375.3 kB / 463.6 MB, free: 5.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7247, allocations: 0 / 463.6 MB, free: 5.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.855/3.58, allocations: 20.6 MB / 484.2 MB, free: 1.133 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.DCEE_Start_res.mat does not exist to compare? outputFormat=mat