Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.875/1.875, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003644, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08046, allocations: 44.51 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009277/0.08978, allocations: 6.43 MB / 314.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005199/0.09504, allocations: 2.493 MB / 317.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.09586, allocations: 23.94 kB / 317.3 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.09737, allocations: 461.8 kB / 317.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.09889, allocations: 474.7 kB / 318.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.09947, allocations: 147.8 kB / 318.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.1014, allocations: 1.007 MB / 319.4 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008173/0.1023, allocations: 427.5 kB / 319.8 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006981/0.103, allocations: 434.2 kB / 320.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006706/0.1037, allocations: 473.8 kB / 320.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.1038, allocations: 60 kB / 320.7 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.1042, allocations: 104 kB / 320.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.1044, allocations: 179.2 kB / 321 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.1047, allocations: 261.1 kB / 321.3 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1065, allocations: 1.301 MB / 322.6 MB, free: 2.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.993e-06/0.1066, allocations: 0 / 322.6 MB, free: 2.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.11e-06/0.1066, allocations: 0 / 322.6 MB, free: 2.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.1066, allocations: 0 / 322.6 MB, free: 2.73 MB / 266.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.002403/0.109, allocations: 1.235 MB / 323.8 MB, free: 1.441 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1091, allocations: 12.03 kB / 323.8 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005491/0.1096, allocations: 158.3 kB / 324 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.1111, allocations: 0.6834 MB / 324.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.1112, allocations: 74 kB / 324.7 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.1114, allocations: 95.91 kB / 324.8 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.1136, allocations: 0.923 MB / 325.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.1137, allocations: 4 kB / 325.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.1138, allocations: 44 kB / 325.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.1138, allocations: 24 kB / 325.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.1156, allocations: 0.6246 MB / 326.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007008/0.1227, allocations: 3.897 MB / 330.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007999/0.1235, allocations: 355.5 kB / 330.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.1236, allocations: 4 kB / 330.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1236, allocations: 42.52 kB / 330.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 3.312e-06/0.1236, allocations: 4 kB / 330.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.003054/0.1267, allocations: 1.21 MB / 331.9 MB, free: 8.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.1268, allocations: 81.11 kB / 332 MB, free: 8.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.1282, allocations: 0.7744 MB / 332.8 MB, free: 8.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.1283, allocations: 33.64 kB / 332.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005225/0.1288, allocations: 0.5782 MB / 333.4 MB, free: 7.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.129, allocations: 130.2 kB / 333.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.129, allocations: 20 kB / 333.6 MB, free: 7.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1292, allocations: 334.8 kB / 333.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.1297, allocations: 149.9 kB / 334 MB, free: 6.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/0.1304, allocations: 464 kB / 334.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/0.131, allocations: 235.6 kB / 334.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/0.131, allocations: 4 kB / 334.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00164/0.1327, allocations: 0.6423 MB / 335.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.1327, allocations: 8 kB / 335.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.1328, allocations: 12 kB / 335.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.133, allocations: 32.84 kB / 335.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/0.1337, allocations: 168 kB / 335.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.1351, allocations: 1.292 MB / 336.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/0.1358, allocations: 43.89 kB / 336.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.1359, allocations: 32 kB / 336.9 MB, free: 3.551 MB / 282.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.0005753/0.1365, allocations: 261.5 kB / 337.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.1367, allocations: 83.25 kB / 337.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1378, allocations: 386.4 kB / 337.7 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.1378, allocations: 8 kB / 337.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.559e-06/0.1378, allocations: 0 / 337.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.1378, allocations: 7.938 kB / 337.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.1405, allocations: 1.246 MB / 338.9 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.409e-06/0.1406, allocations: 8.156 kB / 338.9 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.141, allocations: 75.91 kB / 339 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.1412, allocations: 20.89 kB / 339 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.1412, allocations: 11.98 kB / 339 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.1426, allocations: 1.284 MB / 340.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.56e-06/0.1426, allocations: 3.938 kB / 340.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.1441, allocations: 0.6429 MB / 341 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.1445, allocations: 180.1 kB / 341.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.1446, allocations: 16 kB / 341.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.1451, allocations: 35.97 kB / 341.2 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.1452, allocations: 27.92 kB / 341.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.1452, allocations: 8 kB / 341.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009991/0.1463, allocations: 0.5146 MB / 341.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.1463, allocations: 4 kB / 341.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009971/0.1473, allocations: 188 kB / 341.9 MB, free: 14.27 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.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.0002493/0.1475, allocations: 131 kB / 342.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.1489, allocations: 0.511 MB / 342.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.1489, allocations: 0 / 342.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.1495, allocations: 280.4 kB / 342.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.1507, allocations: 191.4 kB / 343 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.1547, allocations: 2.131 MB / 345.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008839/0.1556, allocations: 1.016 MB / 346.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.1558, allocations: 55.44 kB / 346.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of SimCode: time 4.234e-06/0.1558, allocations: 0 / 346.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of Templates: time 0.0255/0.1813, allocations: 14.83 MB / 361 MB, free: 11.04 MB / 314.7 MB