Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 2.301/2.301, allocations: 194.8 MB / 211.7 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005617/0.000562, allocations: 12 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1114, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.5992, allocations: 88.69 MB / 397.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.5996, allocations: 94.66 kB / 397.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08989/0.6895, allocations: 22.96 MB / 420.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.6895, allocations: 3.938 kB / 420.8 MB, free: 7.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.115e-05/0.6896, allocations: 19.12 kB / 420.8 MB, free: 7.453 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002882/0.6925, allocations: 1.092 MB / 421.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.6926, allocations: 11.53 kB / 421.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/0.6934, allocations: 142.5 kB / 422.1 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.6953, allocations: 0.6984 MB / 422.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.6954, allocations: 61.31 kB / 422.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.6955, allocations: 79.97 kB / 422.9 MB, free: 6.184 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.6974, allocations: 0.7736 MB / 423.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.927e-05/0.6975, allocations: 3.312 kB / 423.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/0.6976, allocations: 36.81 kB / 423.7 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.6977, allocations: 19.94 kB / 423.7 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.6992, allocations: 0.5261 MB / 424.3 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.7049, allocations: 3.46 MB / 427.7 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.7056, allocations: 235 kB / 427.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.7057, allocations: 3.844 kB / 427.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.7057, allocations: 37.88 kB / 428 MB, free: 3.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 3.336e-06/0.7057, allocations: 3.938 kB / 428 MB, free: 3.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.002746/0.7085, allocations: 1.066 MB / 429.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.7085, allocations: 81.31 kB / 429.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.7097, allocations: 0.708 MB / 429.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.7097, allocations: 36.95 kB / 429.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.7101, allocations: 0.493 MB / 430.4 MB, free: 2.207 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.652e-05/0.7101, allocations: 106.9 kB / 430.5 MB, free: 2.137 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.7102, allocations: 14.09 kB / 430.5 MB, free: 2.137 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.7103, allocations: 380.1 kB / 430.9 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.7108, allocations: 129.2 kB / 431 MB, free: 1.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.7113, allocations: 425 kB / 431.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.7119, allocations: 203.5 kB / 431.6 MB, free: 1.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.7119, allocations: 7.875 kB / 431.6 MB, free: 1.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001575/0.7135, allocations: 0.6269 MB / 432.2 MB, free: 1.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.7136, allocations: 7.656 kB / 432.2 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.7136, allocations: 11.62 kB / 432.3 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.7138, allocations: 31.59 kB / 432.3 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.7146, allocations: 147.6 kB / 432.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.7157, allocations: 1.297 MB / 433.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008771/0.7167, allocations: 42.39 kB / 433.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.7167, allocations: 26.72 kB / 433.8 MB, free: 15.79 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 (74): * Single equations (assignments): 73 * 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.0005585/0.7173, allocations: 235.8 kB / 434 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.7175, allocations: 82 kB / 434.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.7185, allocations: 339.8 kB / 434.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.7185, allocations: 4 kB / 434.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7186, allocations: 3.969 kB / 434.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.7186, allocations: 3.984 kB / 434.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.7211, allocations: 1.094 MB / 435.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.7212, allocations: 3.969 kB / 435.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.7217, allocations: 60.56 kB / 435.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.7218, allocations: 27.22 kB / 435.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.7219, allocations: 7.219 kB / 435.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.7231, allocations: 1.277 MB / 436.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.7232, allocations: 3.953 kB / 436.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.7247, allocations: 0.586 MB / 437.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.725, allocations: 165.1 kB / 437.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.7252, allocations: 11.38 kB / 437.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.7258, allocations: 31 kB / 437.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.7258, allocations: 21.81 kB / 437.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.7259, allocations: 7.656 kB / 437.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008912/0.7268, allocations: 485.6 kB / 438.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7268, allocations: 0 / 438.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001202/0.728, allocations: 197.7 kB / 438.4 MB, free: 12.82 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 (27): * Single equations (assignments): 26 * 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.0005877/0.7286, allocations: 278.9 kB / 438.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.7301, allocations: 483.6 kB / 439.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.7301, allocations: 4 kB / 439.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/0.7308, allocations: 244.6 kB / 439.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.7322, allocations: 173.1 kB / 439.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.7362, allocations: 1.755 MB / 441.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/0.737, allocations: 0.9608 MB / 442.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006698/0.7377, allocations: 90.02 kB / 442.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.7379, allocations: 47.44 kB / 442.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7379, allocations: 0 / 442.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of Templates: time 0.03162/0.7695, allocations: 9.491 MB / 451.9 MB, free: 15.53 MB / 346.7 MB