Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.69/1.69, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005862/0.0005866, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08791, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004328/0.09229, allocations: 2.516 MB / 275.1 MB, free: 9.004 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.09431, allocations: 0.7964 MB / 275.9 MB, free: 8.207 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.09456, allocations: 4 kB / 275.9 MB, free: 8.203 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.09471, allocations: 51.67 kB / 276 MB, free: 8.152 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.09508, allocations: 115.6 kB / 276.1 MB, free: 8.039 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.09551, allocations: 99.88 kB / 276.2 MB, free: 7.941 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000583/0.09611, allocations: 356.8 kB / 276.6 MB, free: 7.59 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.0965, allocations: 131.6 kB / 276.7 MB, free: 7.457 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.09701, allocations: 183.4 kB / 276.9 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006095/0.09765, allocations: 219.1 kB / 277.1 MB, free: 7.062 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.09781, allocations: 28 kB / 277.1 MB, free: 7.035 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.09804, allocations: 28 kB / 277.1 MB, free: 7.008 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.09824, allocations: 91.7 kB / 277.2 MB, free: 6.918 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.09846, allocations: 101.5 kB / 277.3 MB, free: 6.812 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000972/0.09945, allocations: 407.1 kB / 277.7 MB, free: 6.414 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.09949, allocations: 0 / 277.7 MB, free: 6.414 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.09951, allocations: 0 / 277.7 MB, free: 6.414 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.09954, allocations: 0 / 277.7 MB, free: 6.414 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003828/0.1034, allocations: 0.7524 MB / 278.5 MB, free: 5.613 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.832e-05/0.1035, allocations: 11.97 kB / 278.5 MB, free: 5.602 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.1038, allocations: 47.44 kB / 278.5 MB, free: 5.555 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008843/0.1047, allocations: 297.4 kB / 278.8 MB, free: 5.223 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/0.1048, allocations: 28.95 kB / 278.8 MB, free: 5.195 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.105, allocations: 36 kB / 278.9 MB, free: 5.16 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.108, allocations: 0.5318 MB / 279.4 MB, free: 4.605 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.1081, allocations: 3.906 kB / 279.4 MB, free: 4.602 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1082, allocations: 16 kB / 279.4 MB, free: 4.586 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.1083, allocations: 12 kB / 279.4 MB, free: 4.574 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.1113, allocations: 0.5582 MB / 280 MB, free: 4.016 MB / 234.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.00424/0.1156, allocations: 1.636 MB / 281.6 MB, free: 2.242 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.1176, allocations: 473.6 kB / 282.1 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-05/0.1176, allocations: 16.31 kB / 282.1 MB, free: 1.758 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.1177, allocations: 34.89 kB / 282.2 MB, free: 1.715 MB / 234.7 MB Notification: Performance of pre-optimization done (n=40): time 3.026e-06/0.1177, allocations: 0 / 282.2 MB, free: 1.715 MB / 234.7 MB Notification: Performance of matching and sorting (n=40): time 0.009172/0.1269, allocations: 1.542 MB / 283.7 MB, free: 128 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.127, allocations: 162.2 kB / 283.9 MB, free: 15.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.1276, allocations: 263 kB / 284.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.1276, allocations: 33.7 kB / 284.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.1278, allocations: 212.3 kB / 284.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.128, allocations: 134 kB / 284.5 MB, free: 15.28 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.1281, allocations: 8 kB / 284.5 MB, free: 15.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1282, allocations: 342.8 kB / 284.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009704/0.1292, allocations: 204.8 kB / 285 MB, free: 14.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.1303, allocations: 298.5 kB / 285.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.1313, allocations: 223.8 kB / 285.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1314, allocations: 0 / 285.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003571/0.135, allocations: 0.764 MB / 286.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.135, allocations: 8.062 kB / 286.3 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.135, allocations: 4 kB / 286.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002216/0.1372, allocations: 337.4 kB / 286.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.1379, allocations: 87.83 kB / 286.7 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.14, allocations: 1.374 MB / 288.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/0.1408, allocations: 95.67 kB / 288.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.1409, allocations: 8 kB / 288.2 MB, free: 11.45 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.1412, allocations: 165.7 kB / 288.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.1413, allocations: 39.56 kB / 288.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003948/0.1453, allocations: 0.8174 MB / 289.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.1453, allocations: 0 / 289.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1453, allocations: 0 / 289.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.1456, allocations: 152.5 kB / 289.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.1457, allocations: 8 kB / 289.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/0.1464, allocations: 63.94 kB / 289.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/0.1465, allocations: 19.97 kB / 289.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004784/0.1513, allocations: 0.888 MB / 290.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002991/0.1543, allocations: 0.9257 MB / 291.3 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008897/0.1553, allocations: 207.9 kB / 291.5 MB, free: 8.098 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003668/0.1556, allocations: 190 kB / 291.7 MB, free: 7.914 MB / 250.7 MB Notification: Performance of Backend: time 5.91e-07/0.1557, allocations: 0 / 291.7 MB, free: 7.914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.1574, allocations: 409.3 kB / 292.1 MB, free: 7.512 MB / 250.7 MB Notification: Performance of SimCode: time 0.002308/0.1597, allocations: 1.545 MB / 293.6 MB, free: 5.918 MB / 250.7 MB Notification: Performance of Templates: time 0.01602/0.1758, allocations: 5.255 MB / 298.9 MB, free: 0.6602 MB / 250.7 MB