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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.606/1.606, allocations: 171.3 MB / 179.2 MB, free: 7.512 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.111e-05, allocations: 3.984 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06703/0.06707, allocations: 38.77 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3003/0.3675, allocations: 86.88 MB / 348.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.3678, allocations: 81.52 kB / 348.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1008/0.4686, allocations: 25.94 MB / 374.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.448e-06/0.4686, allocations: 4 kB / 374.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.897e-05/0.4687, allocations: 20 kB / 374.2 MB, free: 10.75 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.002236/0.4709, allocations: 1.094 MB / 375.3 MB, free: 9.602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.471, allocations: 12.03 kB / 375.3 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007766/0.4718, allocations: 170.5 kB / 375.5 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.4738, allocations: 0.7691 MB / 376.2 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.4739, allocations: 32 kB / 376.3 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.474, allocations: 63.86 kB / 376.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001474/0.4755, allocations: 0.5156 MB / 376.9 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.4774, allocations: 0.7357 MB / 377.6 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.4775, allocations: 0 / 377.6 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/0.4776, allocations: 4 kB / 377.6 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.4776, allocations: 24 kB / 377.6 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006963/0.4846, allocations: 3.774 MB / 381.4 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.4852, allocations: 312.2 kB / 381.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.4855, allocations: 124.4 kB / 381.8 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.4856, allocations: 288 / 381.8 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.4856, allocations: 42.78 kB / 381.9 MB, free: 2.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.62e-06/0.4856, allocations: 0 / 381.9 MB, free: 2.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002088/0.4877, allocations: 0.8784 MB / 382.7 MB, free: 1.758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.4878, allocations: 88.92 kB / 382.8 MB, free: 1.652 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.4889, allocations: 0.5741 MB / 383.4 MB, free: 1.078 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.489, allocations: 25.7 kB / 383.4 MB, free: 1.047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/0.4895, allocations: 0.5896 MB / 384 MB, free: 460 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.4896, allocations: 126.2 kB / 384.1 MB, free: 332 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.4897, allocations: 4 kB / 384.1 MB, free: 328 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4899, allocations: 338.8 kB / 384.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.4902, allocations: 113.6 kB / 384.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.4907, allocations: 412.3 kB / 385 MB, free: 15.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.4912, allocations: 195.3 kB / 385.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.4912, allocations: 4 kB / 385.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001225/0.4924, allocations: 0.5093 MB / 385.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4925, allocations: 8.875 kB / 385.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.4925, allocations: 12 kB / 385.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.4927, allocations: 36.84 kB / 385.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.4934, allocations: 167.7 kB / 385.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.4947, allocations: 1.237 MB / 387.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.4954, allocations: 23.98 kB / 387.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.4955, allocations: 32 kB / 387.2 MB, free: 12.98 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 () * 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.0001742/0.4957, allocations: 132.8 kB / 387.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.4959, allocations: 79.09 kB / 387.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007929/0.4967, allocations: 314.1 kB / 387.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.453e-06/0.4967, allocations: 4 kB / 387.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.437e-06/0.4967, allocations: 0 / 387.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.243e-06/0.4967, allocations: 0 / 387.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.499, allocations: 1.064 MB / 388.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.499, allocations: 0 / 388.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.4995, allocations: 84.11 kB / 388.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.4996, allocations: 20.86 kB / 388.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.4997, allocations: 7.938 kB / 388.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.5009, allocations: 1.221 MB / 390.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.5009, allocations: 7.984 kB / 390.1 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.5021, allocations: 0.6386 MB / 390.8 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.5025, allocations: 172.2 kB / 390.9 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.5026, allocations: 4 kB / 390.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.5031, allocations: 27.92 kB / 391 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.5032, allocations: 31.91 kB / 391 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.5032, allocations: 12 kB / 391 MB, free: 8.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008303/0.5041, allocations: 435.2 kB / 391.4 MB, free: 8.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.5041, allocations: 0 / 391.4 MB, free: 8.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001098/0.5052, allocations: 176 kB / 391.6 MB, free: 8.277 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 () * 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.0004751/0.5057, allocations: 266.2 kB / 391.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009863/0.5067, allocations: 435 kB / 392.3 MB, free: 7.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.855e-06/0.5067, allocations: 1.062 kB / 392.3 MB, free: 7.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.5072, allocations: 234.1 kB / 392.5 MB, free: 7.336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.5083, allocations: 167.1 kB / 392.7 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.5114, allocations: 1.27 MB / 393.9 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008757/0.5123, allocations: 1.023 MB / 395 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.5126, allocations: 59.42 kB / 395 MB, free: 4.734 MB / 330.7 MB Notification: Performance of SimCode: time 1.66e-06/0.5126, allocations: 0 / 395 MB, free: 4.734 MB / 330.7 MB Notification: Performance of Templates: time 0.02691/0.5395, allocations: 15.29 MB / 410.3 MB, free: 5.445 MB / 346.7 MB