Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003846, allocations: 12 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07959/0.08, allocations: 44.51 MB / 308.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003894/0.08393, allocations: 2.528 MB / 310.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.08574, allocations: 0.8009 MB / 311.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.08596, allocations: 4 kB / 311.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.964e-05/0.08607, allocations: 39.67 kB / 311.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.0864, allocations: 123.5 kB / 311.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.08678, allocations: 99.88 kB / 311.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.0873, allocations: 352.9 kB / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.08761, allocations: 123.7 kB / 312.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.08792, allocations: 179.4 kB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.08826, allocations: 219.2 kB / 312.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.19e-05/0.08835, allocations: 28 kB / 312.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.08848, allocations: 28 kB / 312.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.0886, allocations: 91.64 kB / 312.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.08872, allocations: 97.52 kB / 313 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005539/0.08929, allocations: 411.1 kB / 313.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.611e-06/0.08931, allocations: 0 / 313.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.848e-06/0.08932, allocations: 0 / 313.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.104e-06/0.08933, allocations: 0 / 313.4 MB, free: 11.9 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.001731/0.09107, allocations: 0.7525 MB / 314.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.09113, allocations: 8.031 kB / 314.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.09126, allocations: 43.53 kB / 314.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.09177, allocations: 313.2 kB / 314.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.09183, allocations: 33 kB / 314.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.09193, allocations: 32 kB / 314.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.09337, allocations: 0.5318 MB / 315.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.09342, allocations: 0 / 315.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.09349, allocations: 19.94 kB / 315.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.09352, allocations: 8 kB / 315.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.09541, allocations: 0.5659 MB / 315.7 MB, free: 9.488 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.003578/0.09901, allocations: 1.632 MB / 317.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.1006, allocations: 467.5 kB / 317.8 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/0.1006, allocations: 12.31 kB / 317.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.1007, allocations: 38.89 kB / 317.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 3.306e-06/0.1007, allocations: 0 / 317.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.006261/0.107, allocations: 1.535 MB / 319.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.1072, allocations: 162.2 kB / 319.6 MB, free: 5.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.1076, allocations: 266.9 kB / 319.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/0.1077, allocations: 29.7 kB / 319.9 MB, free: 5.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1079, allocations: 262.8 kB / 320.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.1081, allocations: 134 kB / 320.2 MB, free: 4.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.1081, allocations: 16 kB / 320.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1083, allocations: 322.8 kB / 320.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007102/0.109, allocations: 204.8 kB / 320.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.1099, allocations: 314.4 kB / 321.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/0.1106, allocations: 207.9 kB / 321.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.985e-06/0.1107, allocations: 3.953 kB / 321.3 MB, free: 3.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002588/0.1133, allocations: 0.7642 MB / 322.1 MB, free: 2.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.1133, allocations: 4 kB / 322.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.626e-06/0.1133, allocations: 0 / 322.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.115, allocations: 333.5 kB / 322.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.1155, allocations: 91.88 kB / 322.5 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.1175, allocations: 1.37 MB / 323.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.1181, allocations: 91.75 kB / 323.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.1182, allocations: 16 kB / 323.9 MB, free: 0.9062 MB / 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.0003016/0.1185, allocations: 161.7 kB / 324.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1186, allocations: 31.62 kB / 324.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.1215, allocations: 0.8176 MB / 325 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.1215, allocations: 4.047 kB / 325 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.1215, allocations: 3.984 kB / 325 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.1216, allocations: 7.984 kB / 325 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/0.1224, allocations: 461 kB / 325.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-06/0.1224, allocations: 4 kB / 325.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.1229, allocations: 67.89 kB / 325.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.1246, allocations: 337.4 kB / 325.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/0.1247, allocations: 15.98 kB / 325.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.1267, allocations: 1.374 MB / 327.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.587e-06/0.1268, allocations: 3.953 kB / 327.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/0.1303, allocations: 1.125 MB / 328.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.1305, allocations: 112.6 kB / 328.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.1306, allocations: 11.95 kB / 328.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.1312, allocations: 68 kB / 328.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.1313, allocations: 19.97 kB / 328.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.1313, allocations: 8 kB / 328.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003299/0.1317, allocations: 193.9 kB / 328.7 MB, free: 11.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.33e-07/0.1317, allocations: 4 kB / 328.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005994/0.1323, allocations: 111.8 kB / 328.9 MB, free: 11.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002075/0.1325, allocations: 108.9 kB / 329 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.1343, allocations: 0.5151 MB / 329.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.956e-06/0.1344, allocations: 0 / 329.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009033/0.1353, allocations: 284.1 kB / 329.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.1358, allocations: 36.8 kB / 329.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.1381, allocations: 1.078 MB / 330.9 MB, free: 9.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.1387, allocations: 0.8076 MB / 331.7 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.1389, allocations: 23.44 kB / 331.7 MB, free: 8.914 MB / 282.7 MB Notification: Performance of SimCode: time 2.037e-06/0.1389, allocations: 4 kB / 331.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of Templates: time 0.01267/0.1516, allocations: 6.794 MB / 338.5 MB, free: 2.109 MB / 282.7 MB