Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09232, allocations: 44.52 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004132/0.09651, allocations: 2.512 MB / 311.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.09838, allocations: 0.801 MB / 312.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.09859, allocations: 4 kB / 312.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.809e-05/0.0987, allocations: 47.55 kB / 312.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.09905, allocations: 119.7 kB / 312.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.09947, allocations: 103.9 kB / 312.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.1001, allocations: 348.8 kB / 313 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.1004, allocations: 123.7 kB / 313.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.1007, allocations: 179.4 kB / 313.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.1011, allocations: 231.1 kB / 313.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-05/0.1012, allocations: 24 kB / 313.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.1013, allocations: 35.98 kB / 313.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1014, allocations: 75.73 kB / 313.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1016, allocations: 97.45 kB / 313.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.1022, allocations: 415 kB / 314.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1022, allocations: 0 / 314.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1022, allocations: 0 / 314.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1022, allocations: 0 / 314.1 MB, free: 11.24 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002327/0.1046, allocations: 0.7563 MB / 314.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1046, allocations: 8.031 kB / 314.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1048, allocations: 43.53 kB / 315 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.1053, allocations: 301.3 kB / 315.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.1053, allocations: 29 kB / 315.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.1054, allocations: 40 kB / 315.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.1073, allocations: 0.5279 MB / 315.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.1073, allocations: 0 / 315.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.965e-05/0.1074, allocations: 16 kB / 315.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1074, allocations: 8 kB / 315.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.1099, allocations: 0.5621 MB / 316.4 MB, free: 8.844 MB / 266.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.00391/0.1138, allocations: 1.64 MB / 318.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.1158, allocations: 465.8 kB / 318.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.1159, allocations: 12.31 kB / 318.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1159, allocations: 34.89 kB / 318.6 MB, free: 6.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.685e-06/0.1159, allocations: 0 / 318.6 MB, free: 6.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.008903/0.1248, allocations: 1.538 MB / 320.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/0.1249, allocations: 158.2 kB / 320.3 MB, free: 4.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.1254, allocations: 266.9 kB / 320.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.1255, allocations: 41.64 kB / 320.6 MB, free: 4.457 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1257, allocations: 204.4 kB / 320.8 MB, free: 4.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.1258, allocations: 134 kB / 320.9 MB, free: 4.121 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.1259, allocations: 8 kB / 320.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1261, allocations: 346.8 kB / 321.2 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009538/0.127, allocations: 208.7 kB / 321.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.1281, allocations: 302.5 kB / 321.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/0.1291, allocations: 215.9 kB / 321.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1291, allocations: 0 / 321.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003471/0.1326, allocations: 0.7756 MB / 322.7 MB, free: 2.234 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1326, allocations: 8 kB / 322.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1326, allocations: 0 / 322.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.1348, allocations: 337.5 kB / 323.1 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.1354, allocations: 87.88 kB / 323.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.1373, allocations: 1.362 MB / 324.5 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.1382, allocations: 95.66 kB / 324.6 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.1382, allocations: 12 kB / 324.6 MB, free: 292 kB / 266.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.0002598/0.1385, allocations: 165.9 kB / 324.8 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.1386, allocations: 31.62 kB / 324.8 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.1426, allocations: 0.8214 MB / 325.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1426, allocations: 4 kB / 325.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1426, allocations: 0 / 325.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1428, allocations: 116.6 kB / 325.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.1429, allocations: 8 kB / 325.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.1436, allocations: 63.94 kB / 325.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.1437, allocations: 19.97 kB / 325.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004673/0.1484, allocations: 0.9039 MB / 326.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002911/0.1513, allocations: 0.9138 MB / 327.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008519/0.1522, allocations: 211.6 kB / 327.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003434/0.1525, allocations: 186 kB / 328 MB, free: 12.78 MB / 282.7 MB Notification: Performance of Backend: time 1.192e-06/0.1525, allocations: 0 / 328 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.1542, allocations: 402.1 kB / 328.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of SimCode: time 0.002192/0.1564, allocations: 1.552 MB / 330 MB, free: 10.79 MB / 282.7 MB Notification: Performance of Templates: time 0.01556/0.172, allocations: 5.256 MB / 335.2 MB, free: 5.535 MB / 282.7 MB