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.736/1.736, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 12 kB / 233.2 MB, free: 3.035 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06963/0.07003, allocations: 38.77 MB / 271.9 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009553/0.07962, allocations: 6.422 MB / 278.4 MB, free: 5.727 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005238/0.08491, allocations: 2.485 MB / 280.8 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.08605, allocations: 19.94 kB / 280.9 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.08772, allocations: 469.8 kB / 281.3 MB, free: 2.754 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.08941, allocations: 482.5 kB / 281.8 MB, free: 2.281 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.08994, allocations: 143.8 kB / 281.9 MB, free: 2.141 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.09186, allocations: 1.01 MB / 282.9 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.09269, allocations: 415.2 kB / 283.3 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.09334, allocations: 438.2 kB / 283.8 MB, free: 292 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.09403, allocations: 477.9 kB / 284.2 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.09419, allocations: 60 kB / 284.3 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.09455, allocations: 107.8 kB / 284.4 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.09476, allocations: 179.2 kB / 284.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.09507, allocations: 253.1 kB / 284.8 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.0968, allocations: 1.301 MB / 286.1 MB, free: 13.92 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.344e-06/0.09682, allocations: 4 kB / 286.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.3e-06/0.09683, allocations: 0 / 286.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.09686, allocations: 0 / 286.1 MB, free: 13.91 MB / 250.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.002444/0.09932, allocations: 1.235 MB / 287.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.09937, allocations: 8.031 kB / 287.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.09994, allocations: 158.5 kB / 287.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.1015, allocations: 0.6871 MB / 288.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/0.1016, allocations: 81.92 kB / 288.3 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.1018, allocations: 96 kB / 288.4 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.104, allocations: 0.919 MB / 289.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/0.1041, allocations: 7.906 kB / 289.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.1042, allocations: 40 kB / 289.4 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.1042, allocations: 24 kB / 289.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.1061, allocations: 0.6324 MB / 290 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007137/0.1133, allocations: 3.886 MB / 293.9 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008048/0.1141, allocations: 359.1 kB / 294.2 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1142, allocations: 4 kB / 294.3 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.1142, allocations: 42.55 kB / 294.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 3.394e-06/0.1142, allocations: 0 / 294.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.003115/0.1174, allocations: 1.205 MB / 295.5 MB, free: 4.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.1175, allocations: 89.03 kB / 295.6 MB, free: 3.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.1188, allocations: 0.7628 MB / 296.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.1189, allocations: 37.7 kB / 296.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/0.1194, allocations: 0.582 MB / 297 MB, free: 2.562 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.1196, allocations: 130.2 kB / 297.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.1196, allocations: 12 kB / 297.1 MB, free: 2.422 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1198, allocations: 334.8 kB / 297.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.1203, allocations: 157.9 kB / 297.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/0.1211, allocations: 456 kB / 298 MB, free: 1.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.1217, allocations: 239.4 kB / 298.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.555e-06/0.1217, allocations: 0 / 298.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001592/0.1233, allocations: 0.6461 MB / 298.9 MB, free: 460 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.1233, allocations: 8.562 kB / 298.9 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.1234, allocations: 16 kB / 298.9 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.1236, allocations: 36.84 kB / 299 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.1242, allocations: 159.7 kB / 299.1 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1768/0.301, allocations: 1.293 MB / 300.4 MB, free: 28.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.3018, allocations: 41.84 kB / 300.5 MB, free: 28.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.3019, allocations: 33.59 kB / 300.5 MB, free: 28.2 MB / 250.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 (84): * Single equations (assignments): 83 * 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.000506/0.3024, allocations: 262.1 kB / 300.8 MB, free: 28.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.3026, allocations: 83.28 kB / 300.8 MB, free: 28.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.3036, allocations: 390.9 kB / 301.2 MB, free: 28.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.783e-06/0.3037, allocations: 5.062 kB / 301.2 MB, free: 28.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.553e-06/0.3037, allocations: 0 / 301.2 MB, free: 28.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-06/0.3037, allocations: 1.641 kB / 301.2 MB, free: 28.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.3063, allocations: 1.251 MB / 302.5 MB, free: 27.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.962e-06/0.3064, allocations: 1.656 kB / 302.5 MB, free: 27.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.3069, allocations: 79.59 kB / 302.5 MB, free: 27.58 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.307, allocations: 24.62 kB / 302.6 MB, free: 27.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.3071, allocations: 7.938 kB / 302.6 MB, free: 27.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009047/0.308, allocations: 1.284 MB / 303.9 MB, free: 26.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.392e-06/0.308, allocations: 2.844 kB / 303.9 MB, free: 26.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.3095, allocations: 0.641 MB / 304.5 MB, free: 25.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.3099, allocations: 180.7 kB / 304.7 MB, free: 25.81 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.31, allocations: 13.69 kB / 304.7 MB, free: 25.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.3105, allocations: 29.3 kB / 304.7 MB, free: 25.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.3106, allocations: 28.3 kB / 304.8 MB, free: 25.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.3107, allocations: 17.86 kB / 304.8 MB, free: 25.79 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009866/0.3117, allocations: 0.5158 MB / 305.3 MB, free: 25.55 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-06/0.3117, allocations: 0 / 305.3 MB, free: 25.55 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001039/0.3127, allocations: 190.7 kB / 305.5 MB, free: 25.54 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * 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 (34): * Single equations (assignments): 33 * 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.0002094/0.313, allocations: 125.2 kB / 305.6 MB, free: 25.44 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.3142, allocations: 0.5215 MB / 306.1 MB, free: 25.21 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.472e-06/0.3142, allocations: 0 / 306.1 MB, free: 25.21 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.3148, allocations: 273.6 kB / 306.4 MB, free: 25.05 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.316, allocations: 191.4 kB / 306.6 MB, free: 24.99 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.3195, allocations: 2.138 MB / 308.7 MB, free: 23.62 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.3202, allocations: 1.015 MB / 309.7 MB, free: 22.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.3204, allocations: 56.88 kB / 309.8 MB, free: 22.91 MB / 250.7 MB Notification: Performance of SimCode: time 1.574e-06/0.3205, allocations: 0 / 309.8 MB, free: 22.91 MB / 250.7 MB Notification: Performance of Templates: time 0.02285/0.3433, allocations: 14.84 MB / 324.6 MB, free: 14.16 MB / 250.7 MB