Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 8 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09945, allocations: 44.51 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.5026, allocations: 76.15 MB / 385.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5029, allocations: 74.05 kB / 385.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02661/0.5296, allocations: 6.425 MB / 391.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5296, allocations: 0 / 391.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.5296, allocations: 11.72 kB / 391.6 MB, free: 14.11 MB / 314.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.002102/0.5318, allocations: 0.751 MB / 392.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5318, allocations: 11.62 kB / 392.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.532, allocations: 50.64 kB / 392.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.5324, allocations: 292.2 kB / 392.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.5325, allocations: 29.84 kB / 392.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.642e-05/0.5326, allocations: 40.09 kB / 392.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.5343, allocations: 0.5312 MB / 393.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.5344, allocations: 0 / 393.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.5345, allocations: 14.62 kB / 393.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.5345, allocations: 7.75 kB / 393.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.5369, allocations: 0.5615 MB / 393.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003823/0.5408, allocations: 1.421 MB / 395.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.5428, allocations: 463.1 kB / 395.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.962e-05/0.5429, allocations: 14.42 kB / 395.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.543, allocations: 34.14 kB / 395.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 3.156e-06/0.543, allocations: 0 / 395.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.008079/0.5511, allocations: 1.44 MB / 397.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.5512, allocations: 165.6 kB / 397.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.5516, allocations: 264.1 kB / 397.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.5517, allocations: 37.52 kB / 397.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.5518, allocations: 258.4 kB / 398 MB, free: 11.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.552, allocations: 139.3 kB / 398.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.552, allocations: 11.06 kB / 398.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.5521, allocations: 325.6 kB / 398.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008822/0.553, allocations: 204.1 kB / 398.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009519/0.554, allocations: 295.9 kB / 398.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009475/0.5549, allocations: 221.8 kB / 399.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5549, allocations: 3.781 kB / 399.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003748/0.5587, allocations: 0.8189 MB / 400 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5587, allocations: 10.06 kB / 400 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5587, allocations: 0 / 400 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.5608, allocations: 342.8 kB / 400.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.5614, allocations: 81.64 kB / 400.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.5631, allocations: 1.373 MB / 401.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.5639, allocations: 91.36 kB / 401.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.5639, allocations: 15.41 kB / 401.9 MB, free: 10.06 MB / 314.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.0002537/0.5642, allocations: 163.7 kB / 402 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.5643, allocations: 31.25 kB / 402.1 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00363/0.5679, allocations: 0.7876 MB / 402.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.568, allocations: 7.781 kB / 402.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.568, allocations: 3.953 kB / 402.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.568, allocations: 3.797 kB / 402.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.5687, allocations: 467.1 kB / 403.3 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5687, allocations: 4 kB / 403.3 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.5693, allocations: 61.64 kB / 403.4 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.5713, allocations: 342.2 kB / 403.7 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.5714, allocations: 10.06 kB / 403.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.573, allocations: 1.385 MB / 405.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.573, allocations: 0 / 405.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.5773, allocations: 1.105 MB / 406.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.5774, allocations: 119.5 kB / 406.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.5775, allocations: 3.375 kB / 406.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.5782, allocations: 63.61 kB / 406.4 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.5783, allocations: 22.7 kB / 406.4 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.5784, allocations: 18.48 kB / 406.4 MB, free: 8.172 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003103/0.5787, allocations: 184.1 kB / 406.6 MB, free: 8.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5787, allocations: 0 / 406.6 MB, free: 8.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005309/0.5793, allocations: 121.6 kB / 406.7 MB, free: 8.074 MB / 314.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.0001842/0.5794, allocations: 115.4 kB / 406.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.5815, allocations: 0.5077 MB / 407.4 MB, free: 7.957 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5815, allocations: 0 / 407.4 MB, free: 7.957 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.5826, allocations: 275.6 kB / 407.6 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.583, allocations: 52.38 kB / 407.7 MB, free: 7.926 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.5852, allocations: 1.072 MB / 408.8 MB, free: 7.348 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.5855, allocations: 0.8041 MB / 409.6 MB, free: 6.648 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.5856, allocations: 26.12 kB / 409.6 MB, free: 6.641 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5856, allocations: 0 / 409.6 MB, free: 6.641 MB / 314.7 MB Notification: Performance of Templates: time 0.01126/0.5969, allocations: 6.807 MB / 416.4 MB, free: 3.379 MB / 314.7 MB