Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadModel(Modelica): time 1.795/1.795, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08799, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01288/0.1009, allocations: 7.54 MB / 280.2 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006843/0.1078, allocations: 2.901 MB / 283.1 MB, free: 1.039 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008526/0.1087, allocations: 23.94 kB / 283.1 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.1105, allocations: 0.4936 MB / 283.6 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.1125, allocations: 0.6232 MB / 284.2 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.1133, allocations: 219.7 kB / 284.4 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.1158, allocations: 1.226 MB / 285.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.1168, allocations: 0.4915 MB / 286.2 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008166/0.1176, allocations: 0.5098 MB / 286.7 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009829/0.1186, allocations: 0.5872 MB / 287.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.1189, allocations: 76 kB / 287.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004978/0.1194, allocations: 119.9 kB / 287.4 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.1197, allocations: 223 kB / 287.7 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.1201, allocations: 309 kB / 288 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.1221, allocations: 1.433 MB / 289.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1221, allocations: 3.938 kB / 289.4 MB, free: 10.69 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1221, allocations: 0 / 289.4 MB, free: 10.69 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.1222, allocations: 0 / 289.4 MB, free: 10.69 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.00405/0.1262, allocations: 1.52 MB / 290.9 MB, free: 9.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1263, allocations: 8.031 kB / 290.9 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006189/0.1269, allocations: 186.1 kB / 291.1 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.1286, allocations: 0.7502 MB / 291.9 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.1288, allocations: 119.8 kB / 292 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.1291, allocations: 111.9 kB / 292.1 MB, free: 7.879 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.1321, allocations: 1.123 MB / 293.2 MB, free: 6.664 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.978e-05/0.1322, allocations: 7.984 kB / 293.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.1324, allocations: 44 kB / 293.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.1324, allocations: 28 kB / 293.3 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.135, allocations: 0.769 MB / 294.1 MB, free: 5.816 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008481/0.1435, allocations: 3.848 MB / 297.9 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.1461, allocations: 0.5929 MB / 298.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/0.1462, allocations: 12.55 kB / 298.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009747/0.1472, allocations: 299.5 kB / 298.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of pre-optimization done (n=62): time 4.348e-06/0.1472, allocations: 3.938 kB / 298.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of matching and sorting (n=65): time 0.2334/0.3807, allocations: 2.095 MB / 300.9 MB, free: 30.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.3808, allocations: 477.7 kB / 301.4 MB, free: 29.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.3827, allocations: 0.9949 MB / 302.4 MB, free: 29.37 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/0.3828, allocations: 45.08 kB / 302.4 MB, free: 29.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005693/0.3834, allocations: 0.6337 MB / 303 MB, free: 28.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.3836, allocations: 235.2 kB / 303.3 MB, free: 28.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.3837, allocations: 20.69 kB / 303.3 MB, free: 28.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.3838, allocations: 343.9 kB / 303.6 MB, free: 28.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009025/0.3847, allocations: 253.6 kB / 303.9 MB, free: 28.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.386, allocations: 0.7107 MB / 304.6 MB, free: 27.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.387, allocations: 416.4 kB / 305 MB, free: 27.39 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.3871, allocations: 4.781 kB / 305 MB, free: 27.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002995/0.3901, allocations: 1.129 MB / 306.1 MB, free: 26.88 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.3901, allocations: 68.27 kB / 306.2 MB, free: 26.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.3902, allocations: 12.86 kB / 306.2 MB, free: 26.81 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008504/0.391, allocations: 165.5 kB / 306.4 MB, free: 26.76 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.3923, allocations: 210.8 kB / 306.6 MB, free: 26.74 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005437/0.3978, allocations: 3.604 MB / 310.2 MB, free: 23.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.3995, allocations: 81.52 kB / 310.3 MB, free: 23.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/0.3996, allocations: 47.16 kB / 310.3 MB, free: 23.57 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {5 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006714/0.4003, allocations: 299.3 kB / 310.6 MB, free: 23.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.4005, allocations: 123.5 kB / 310.7 MB, free: 23.28 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.4027, allocations: 0.7256 MB / 311.4 MB, free: 22.96 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00203/0.4048, allocations: 0.967 MB / 312.4 MB, free: 22.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4048, allocations: 0 / 312.4 MB, free: 22.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.4053, allocations: 231.2 kB / 312.6 MB, free: 22.04 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.4056, allocations: 25.45 kB / 312.7 MB, free: 22.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.4066, allocations: 46.73 kB / 312.7 MB, free: 22.01 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.4068, allocations: 46.81 kB / 312.8 MB, free: 22 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003158/0.41, allocations: 0.7866 MB / 313.5 MB, free: 21.68 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002743/0.4128, allocations: 1.033 MB / 314.6 MB, free: 21.16 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007573/0.4135, allocations: 227.6 kB / 314.8 MB, free: 21.08 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001311/0.4149, allocations: 0.6587 MB / 315.5 MB, free: 20.79 MB / 250.7 MB Notification: Performance of Backend: time 7.32e-07/0.4149, allocations: 0 / 315.5 MB, free: 20.79 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.4184, allocations: 1.024 MB / 316.5 MB, free: 20.16 MB / 250.7 MB Notification: Performance of SimCode: time 0.007851/0.4263, allocations: 3.35 MB / 319.8 MB, free: 18.03 MB / 250.7 MB Notification: Performance of Templates: time 0.05163/0.478, allocations: 14.98 MB / 334.8 MB, free: 5.047 MB / 250.7 MB