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.DCEE_Start.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.DCEE_Start,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.661/1.661, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8 kB / 233.3 MB, free: 2.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.08465, allocations: 38.76 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4498, allocations: 87.63 MB / 359.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.4502, allocations: 86.08 kB / 359.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1098/0.5599, allocations: 26.3 MB / 386.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.56, allocations: 0 / 386.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.132e-05/0.5601, allocations: 27.94 kB / 386.2 MB, free: 12.19 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.003388/0.5635, allocations: 1.238 MB / 387.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5635, allocations: 8.469 kB / 387.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003442/0.5639, allocations: 148.2 kB / 387.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/0.5648, allocations: 174.5 kB / 387.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.5669, allocations: 0.7652 MB / 388.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.567, allocations: 72.75 kB / 388.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.5672, allocations: 110.4 kB / 388.7 MB, free: 9.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.5697, allocations: 0.9178 MB / 389.6 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.5698, allocations: 0 / 389.6 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.5699, allocations: 38.81 kB / 389.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.5699, allocations: 24 kB / 389.6 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.5719, allocations: 0.6367 MB / 390.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007824/0.5798, allocations: 3.941 MB / 394.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.5807, allocations: 357 kB / 394.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.5808, allocations: 4.281 kB / 394.6 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.5808, allocations: 42.83 kB / 394.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.915e-06/0.5809, allocations: 0 / 394.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.003664/0.5845, allocations: 1.243 MB / 395.9 MB, free: 3.645 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.5846, allocations: 92.91 kB / 395.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.5861, allocations: 0.6878 MB / 396.6 MB, free: 2.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.5862, allocations: 29.7 kB / 396.7 MB, free: 2.805 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/0.5867, allocations: 0.5782 MB / 397.2 MB, free: 2.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.5868, allocations: 130.2 kB / 397.4 MB, free: 2.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.5869, allocations: 12 kB / 397.4 MB, free: 2.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.587, allocations: 338.8 kB / 397.7 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.5876, allocations: 153.9 kB / 397.9 MB, free: 1.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/0.5884, allocations: 468.1 kB / 398.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.5891, allocations: 231.4 kB / 398.5 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.5891, allocations: 4 kB / 398.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001781/0.5909, allocations: 0.6504 MB / 399.2 MB, free: 104 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.591, allocations: 19.89 kB / 399.2 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.591, allocations: 8 kB / 399.2 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.5912, allocations: 32.84 kB / 399.3 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/0.5922, allocations: 167.7 kB / 399.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.5936, allocations: 1.292 MB / 400.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/0.5945, allocations: 44.14 kB / 400.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.5946, allocations: 36.05 kB / 400.8 MB, free: 14.37 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.0006372/0.5953, allocations: 257.6 kB / 401 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.5955, allocations: 86.92 kB / 401.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.5967, allocations: 398.4 kB / 401.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.5967, allocations: 4 kB / 401.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5967, allocations: 0 / 401.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.5968, allocations: 0 / 401.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.5997, allocations: 1.267 MB / 402.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5997, allocations: 0 / 402.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.6004, allocations: 79.89 kB / 402.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001371/0.6005, allocations: 25.06 kB / 402.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.6006, allocations: 15.95 kB / 402.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.6018, allocations: 1.284 MB / 404.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.6018, allocations: 7.875 kB / 404.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.6036, allocations: 0.7438 MB / 404.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.604, allocations: 192.1 kB / 405.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.6042, allocations: 8 kB / 405.1 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/0.6049, allocations: 23.98 kB / 405.2 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.605, allocations: 27.95 kB / 405.2 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.6051, allocations: 20 kB / 405.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001125/0.6062, allocations: 0.5263 MB / 405.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6062, allocations: 4 kB / 405.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001227/0.6074, allocations: 219.9 kB / 405.9 MB, free: 8.871 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.002715/0.6102, allocations: 1.957 MB / 407.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.6117, allocations: 0.5305 MB / 408.4 MB, free: 6.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.6118, allocations: 0 / 408.4 MB, free: 6.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.6124, allocations: 280.2 kB / 408.7 MB, free: 6.008 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.6141, allocations: 187.2 kB / 408.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.6287, allocations: 11.85 MB / 420.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/0.6295, allocations: 1.023 MB / 421.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/0.6303, allocations: 363.3 kB / 422.1 MB, free: 8.207 MB / 346.7 MB Notification: Performance of SimCode: time 9.61e-07/0.6303, allocations: 3.938 kB / 422.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.993/3.623, allocations: 20.61 MB / 442.7 MB, free: 96.51 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.DCEE_Start_res.mat does not exist to compare? outputFormat=mat