Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 1.699/1.699, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003592, allocations: 11.98 kB / 233.9 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08369/0.08408, allocations: 38.77 MB / 272.6 MB, free: 9.445 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003052/0.08722, allocations: 1.712 MB / 274.3 MB, free: 7.715 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.08935, allocations: 0.9168 MB / 275.3 MB, free: 6.793 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.08952, allocations: 0 / 275.3 MB, free: 6.793 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.0899, allocations: 91.67 kB / 275.3 MB, free: 6.703 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.09025, allocations: 107.7 kB / 275.4 MB, free: 6.598 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.09061, allocations: 87.7 kB / 275.5 MB, free: 6.512 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.09099, allocations: 199.6 kB / 275.7 MB, free: 6.316 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.09122, allocations: 65.95 kB / 275.8 MB, free: 6.25 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.09138, allocations: 91.69 kB / 275.9 MB, free: 6.16 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.0916, allocations: 99.66 kB / 276 MB, free: 6.062 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.09165, allocations: 12 kB / 276 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.09186, allocations: 47.92 kB / 276 MB, free: 6.004 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.09195, allocations: 39.83 kB / 276.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.09205, allocations: 65.58 kB / 276.1 MB, free: 5.895 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.09246, allocations: 211.8 kB / 276.3 MB, free: 5.688 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.09248, allocations: 0 / 276.3 MB, free: 5.688 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09249, allocations: 4 kB / 276.4 MB, free: 5.684 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.0925, allocations: 0 / 276.4 MB, free: 5.684 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009289/0.09344, allocations: 0.5283 MB / 276.9 MB, free: 5.098 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.0935, allocations: 8.031 kB / 276.9 MB, free: 5.09 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.09368, allocations: 31.66 kB / 276.9 MB, free: 5.059 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.09406, allocations: 238.7 kB / 277.2 MB, free: 4.785 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.09411, allocations: 20.28 kB / 277.2 MB, free: 4.766 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.09418, allocations: 16 kB / 277.2 MB, free: 4.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.0946, allocations: 148.2 kB / 277.3 MB, free: 4.602 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.09463, allocations: 0 / 277.3 MB, free: 4.602 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.09467, allocations: 8 kB / 277.3 MB, free: 4.594 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.09469, allocations: 4 kB / 277.3 MB, free: 4.59 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.09503, allocations: 116.1 kB / 277.5 MB, free: 4.477 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.09629, allocations: 0.5626 MB / 278 MB, free: 3.863 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.0967, allocations: 142.5 kB / 278.2 MB, free: 3.715 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.09675, allocations: 4 kB / 278.2 MB, free: 3.711 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.09705, allocations: 108.4 kB / 278.3 MB, free: 3.594 MB / 234.7 MB Notification: Performance of pre-optimization done (n=18): time 3.166e-06/0.09707, allocations: 0 / 278.3 MB, free: 3.594 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006085/0.09769, allocations: 203.9 kB / 278.5 MB, free: 3.391 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.09774, allocations: 55.41 kB / 278.5 MB, free: 3.324 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.09812, allocations: 252 kB / 278.8 MB, free: 3.066 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.09817, allocations: 33.7 kB / 278.8 MB, free: 3.027 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.0983, allocations: 140.3 kB / 278.9 MB, free: 2.887 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.0984, allocations: 63.12 kB / 279 MB, free: 2.824 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.09842, allocations: 4 kB / 279 MB, free: 2.82 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.09858, allocations: 330.8 kB / 279.3 MB, free: 2.488 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.09875, allocations: 55.83 kB / 279.4 MB, free: 2.434 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.09896, allocations: 78.67 kB / 279.5 MB, free: 2.348 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.09917, allocations: 85.89 kB / 279.5 MB, free: 2.258 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.09919, allocations: 0 / 279.5 MB, free: 2.258 MB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005633/0.09976, allocations: 241.2 kB / 279.8 MB, free: 2.012 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.09983, allocations: 41.75 kB / 279.8 MB, free: 1.965 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.09984, allocations: 0 / 279.8 MB, free: 1.965 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.09987, allocations: 0 / 279.8 MB, free: 1.965 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.1002, allocations: 47.92 kB / 279.9 MB, free: 1.918 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1003, allocations: 0 / 279.9 MB, free: 1.918 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.1005, allocations: 23.77 kB / 279.9 MB, free: 1.895 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.1005, allocations: 12 kB / 279.9 MB, free: 1.883 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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.0001793/0.1007, allocations: 141.8 kB / 280 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.1007, allocations: 23.67 kB / 280.1 MB, free: 1.711 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.768e-05/0.1008, allocations: 25.88 kB / 280.1 MB, free: 1.688 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1009, allocations: 3.984 kB / 280.1 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.1009, allocations: 4 kB / 280.1 MB, free: 1.68 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.101, allocations: 104.8 kB / 280.2 MB, free: 1.559 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.101, allocations: 0 / 280.2 MB, free: 1.559 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1012, allocations: 11.98 kB / 280.2 MB, free: 1.547 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.1012, allocations: 11.98 kB / 280.2 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006636/0.1019, allocations: 252.8 kB / 280.5 MB, free: 1.281 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006879/0.1026, allocations: 404.9 kB / 280.9 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001468/0.1028, allocations: 56 kB / 280.9 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002495/0.1031, allocations: 193.7 kB / 281.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of Backend: time 7.41e-07/0.1031, allocations: 0 / 281.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.1046, allocations: 0.4995 MB / 281.6 MB, free: 176 kB / 234.7 MB Notification: Performance of SimCode: time 0.2217/0.3263, allocations: 1.045 MB / 282.7 MB, free: 14.77 MB / 234.7 MB Notification: Performance of Templates: time 0.01466/0.341, allocations: 2.631 MB / 285.3 MB, free: 14.65 MB / 234.7 MB