Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 16 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.1, allocations: 44.5 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.004107/0.1042, allocations: 1.74 MB / 310.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.1069, allocations: 0.8901 MB / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1071, allocations: 4 kB / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.1075, allocations: 71.69 kB / 311.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.108, allocations: 111.7 kB / 311.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.1085, allocations: 75.8 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.109, allocations: 199.6 kB / 312.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.1093, allocations: 76.53 kB / 312.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.1095, allocations: 91.69 kB / 312.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.1098, allocations: 107.6 kB / 312.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.1099, allocations: 12 kB / 312.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.1101, allocations: 27.98 kB / 312.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.1103, allocations: 39.84 kB / 312.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1104, allocations: 69.58 kB / 312.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.1109, allocations: 219.7 kB / 312.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1109, allocations: 0 / 312.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.111, allocations: 0 / 312.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.111, allocations: 0 / 312.8 MB, free: 12.63 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001232/0.1122, allocations: 0.5453 MB / 313.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.1123, allocations: 8.031 kB / 313.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.1126, allocations: 31.72 kB / 313.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.1131, allocations: 247.5 kB / 313.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.1131, allocations: 19.92 kB / 313.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.1132, allocations: 20 kB / 313.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.1139, allocations: 165.3 kB / 313.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.1139, allocations: 0 / 313.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.114, allocations: 8 kB / 313.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.114, allocations: 4 kB / 313.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.1146, allocations: 111.9 kB / 313.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.1162, allocations: 0.5781 MB / 314.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/0.1169, allocations: 166.5 kB / 314.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.1169, allocations: 0 / 314.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004388/0.1174, allocations: 115.7 kB / 314.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 3.707e-06/0.1174, allocations: 0 / 314.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001044/0.1185, allocations: 238.3 kB / 315 MB, free: 10.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1185, allocations: 51.41 kB / 315.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.1191, allocations: 256.2 kB / 315.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.1191, allocations: 25.7 kB / 315.3 MB, free: 9.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1193, allocations: 148.2 kB / 315.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.1194, allocations: 67.02 kB / 315.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.1195, allocations: 4 kB / 315.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1197, allocations: 334.8 kB / 315.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.12, allocations: 60.2 kB / 315.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.1204, allocations: 99.84 kB / 316 MB, free: 9.129 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.1208, allocations: 102.6 kB / 316.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1208, allocations: 0 / 316.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009658/0.1218, allocations: 256.7 kB / 316.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/0.1219, allocations: 41.64 kB / 316.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1219, allocations: 0 / 316.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.1219, allocations: 8.094 kB / 316.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.1225, allocations: 43.92 kB / 316.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1225, allocations: 0 / 316.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.1228, allocations: 31.73 kB / 316.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.1229, allocations: 16 kB / 316.5 MB, free: 8.617 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.1232, allocations: 143.8 kB / 316.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.1232, allocations: 23.72 kB / 316.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.1234, allocations: 33.83 kB / 316.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1234, allocations: 3.984 kB / 316.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1234, allocations: 4 kB / 316.7 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.1236, allocations: 108.8 kB / 316.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/0.1237, allocations: 11.92 kB / 316.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.124, allocations: 11.91 kB / 316.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.1241, allocations: 15.92 kB / 316.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001052/0.1251, allocations: 272.8 kB / 317.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001209/0.1264, allocations: 441.8 kB / 317.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002814/0.1267, allocations: 67.98 kB / 317.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.127, allocations: 177.6 kB / 317.8 MB, free: 7.281 MB / 266.7 MB Notification: Performance of Backend: time 8.21e-07/0.127, allocations: 4.062 kB / 317.8 MB, free: 7.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.1294, allocations: 0.5471 MB / 318.4 MB, free: 6.777 MB / 266.7 MB Notification: Performance of SimCode: time 0.002039/0.1315, allocations: 1.079 MB / 319.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of Templates: time 0.01178/0.1433, allocations: 2.691 MB / 322.1 MB, free: 2.961 MB / 266.7 MB