Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.583/1.583, allocations: 171.2 MB / 184.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.4e-05, allocations: 4 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2057, allocations: 38.76 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.335, allocations: 87.54 MB / 355.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.3353, allocations: 83.95 kB / 355.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2689/0.6042, allocations: 26.32 MB / 381.5 MB, free: 65.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.796e-06/0.6042, allocations: 4 kB / 381.5 MB, free: 65.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.64e-05/0.6043, allocations: 24 kB / 381.6 MB, free: 65.86 MB / 298.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.001712/0.606, allocations: 1.091 MB / 382.7 MB, free: 64.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.6061, allocations: 8.031 kB / 382.7 MB, free: 64.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006644/0.6067, allocations: 174.4 kB / 382.8 MB, free: 64.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.6082, allocations: 0.7652 MB / 383.6 MB, free: 63.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.6083, allocations: 74 kB / 383.7 MB, free: 63.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.6085, allocations: 103.9 kB / 383.8 MB, free: 63.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.6102, allocations: 0.8763 MB / 384.7 MB, free: 62.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.6102, allocations: 4 kB / 384.7 MB, free: 62.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/0.6103, allocations: 40 kB / 384.7 MB, free: 62.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.6104, allocations: 24 kB / 384.7 MB, free: 62.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.6117, allocations: 0.5706 MB / 385.3 MB, free: 62.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005271/0.617, allocations: 3.952 MB / 389.2 MB, free: 57.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.6175, allocations: 336.5 kB / 389.6 MB, free: 57.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.6178, allocations: 126.5 kB / 389.7 MB, free: 57.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.6178, allocations: 288 / 389.7 MB, free: 57.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.6178, allocations: 38.84 kB / 389.7 MB, free: 57.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.286e-06/0.6179, allocations: 0 / 389.7 MB, free: 57.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001716/0.6196, allocations: 0.9521 MB / 390.7 MB, free: 56.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.6196, allocations: 84.97 kB / 390.8 MB, free: 56.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.6207, allocations: 0.6879 MB / 391.5 MB, free: 55.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.6207, allocations: 33.7 kB / 391.5 MB, free: 55.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.621, allocations: 0.5743 MB / 392.1 MB, free: 54.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.648e-05/0.6211, allocations: 130.2 kB / 392.2 MB, free: 54.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.6212, allocations: 12 kB / 392.2 MB, free: 54.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.6212, allocations: 342.8 kB / 392.5 MB, free: 54.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.6215, allocations: 125.6 kB / 392.7 MB, free: 54.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.6219, allocations: 433.8 kB / 393.1 MB, free: 53.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.6223, allocations: 211.9 kB / 393.3 MB, free: 53.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.907e-06/0.6224, allocations: 4 kB / 393.3 MB, free: 53.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001116/0.6235, allocations: 0.5914 MB / 393.9 MB, free: 52.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.6235, allocations: 12 kB / 393.9 MB, free: 52.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.6236, allocations: 11.95 kB / 393.9 MB, free: 52.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.6237, allocations: 40.78 kB / 393.9 MB, free: 52.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.6243, allocations: 168.1 kB / 394.1 MB, free: 52.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008321/0.6252, allocations: 1.28 MB / 395.4 MB, free: 51.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/0.6259, allocations: 44.05 kB / 395.4 MB, free: 51.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.626, allocations: 32 kB / 395.5 MB, free: 51.17 MB / 298.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 () * 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.0001201/0.6261, allocations: 149.2 kB / 395.6 MB, free: 51.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.6262, allocations: 87 kB / 395.7 MB, free: 50.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006886/0.6269, allocations: 350.6 kB / 396 MB, free: 50.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.185e-06/0.627, allocations: 4 kB / 396 MB, free: 50.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.693e-06/0.627, allocations: 3.938 kB / 396 MB, free: 50.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-06/0.627, allocations: 7.875 kB / 396.1 MB, free: 50.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.6289, allocations: 1.212 MB / 397.3 MB, free: 49.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.238e-06/0.6289, allocations: 4 kB / 397.3 MB, free: 49.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.6294, allocations: 79.89 kB / 397.3 MB, free: 49.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.6295, allocations: 29.02 kB / 397.4 MB, free: 49.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.6295, allocations: 8 kB / 397.4 MB, free: 49.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000747/0.6303, allocations: 1.28 MB / 398.7 MB, free: 47.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.17e-06/0.6303, allocations: 0 / 398.7 MB, free: 47.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008792/0.6312, allocations: 0.6695 MB / 399.3 MB, free: 46.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.6315, allocations: 192.1 kB / 399.5 MB, free: 46.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.6317, allocations: 12 kB / 399.5 MB, free: 46.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.6322, allocations: 27.98 kB / 399.6 MB, free: 46.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.6323, allocations: 27.97 kB / 399.6 MB, free: 46.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.6323, allocations: 11.98 kB / 399.6 MB, free: 46.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007885/0.6331, allocations: 0.5187 MB / 400.1 MB, free: 46.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.6331, allocations: 0 / 400.1 MB, free: 46.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001016/0.6342, allocations: 224 kB / 400.3 MB, free: 45.96 MB / 298.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 () * 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.0004114/0.6346, allocations: 300.3 kB / 400.6 MB, free: 45.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.6355, allocations: 476.8 kB / 401.1 MB, free: 45.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.661e-06/0.6355, allocations: 0 / 401.1 MB, free: 45.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.6358, allocations: 246.6 kB / 401.3 MB, free: 44.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.6369, allocations: 191.7 kB / 401.5 MB, free: 44.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.6394, allocations: 1.304 MB / 402.8 MB, free: 43.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.6399, allocations: 1.012 MB / 403.8 MB, free: 42.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.6401, allocations: 59.44 kB / 403.9 MB, free: 42.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.448e-06/0.6401, allocations: 0 / 403.9 MB, free: 42.29 MB / 298.7 MB Notification: Performance of Templates: time 0.0201/0.6602, allocations: 16.06 MB / 420 MB, free: 26.25 MB / 298.7 MB