Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.393e-05/2.4e-05, allocations: 0 / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2023, allocations: 38.78 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.306, allocations: 67.72 MB / 335.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.3063, allocations: 71.95 kB / 335.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01054/0.3168, allocations: 2.735 MB / 338.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3169, allocations: 0 / 338.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.3169, allocations: 4 kB / 338.1 MB, free: 2.785 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005635/0.3175, allocations: 406.4 kB / 338.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3175, allocations: 11.97 kB / 338.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.3177, allocations: 19.81 kB / 338.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.3179, allocations: 203.9 kB / 338.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.318, allocations: 8.234 kB / 338.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.318, allocations: 15.95 kB / 338.8 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.3183, allocations: 107.5 kB / 338.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.451e-06/0.3183, allocations: 0 / 338.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3184, allocations: 4 kB / 338.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.696e-06/0.3184, allocations: 4 kB / 338.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.3186, allocations: 68.69 kB / 338.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.3196, allocations: 0.5382 MB / 339.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.32, allocations: 82.58 kB / 339.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.3201, allocations: 28.97 kB / 339.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3201, allocations: 0 / 339.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3201, allocations: 38.56 kB / 339.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.871e-06/0.3201, allocations: 0 / 339.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003924/0.3205, allocations: 102.4 kB / 339.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3206, allocations: 59.41 kB / 339.8 MB, free: 0.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3208, allocations: 137.4 kB / 339.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3208, allocations: 25.7 kB / 339.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.321, allocations: 194 kB / 340.1 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.321, allocations: 27.64 kB / 340.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-06/0.321, allocations: 0 / 340.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3212, allocations: 314.8 kB / 340.5 MB, free: 216 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.044e-05/0.3213, allocations: 16 kB / 340.5 MB, free: 200 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.3213, allocations: 42.52 kB / 340.5 MB, free: 148 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.3214, allocations: 23.98 kB / 340.5 MB, free: 124 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-06/0.3214, allocations: 3.938 kB / 340.6 MB, free: 120 kB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003483/0.3218, allocations: 118.4 kB / 340.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3218, allocations: 11.95 kB / 340.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.553e-06/0.3219, allocations: 4.062 kB / 340.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.3221, allocations: 36.78 kB / 340.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.3222, allocations: 11.98 kB / 340.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.3241, allocations: 1.512 MB / 342.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3243, allocations: 7.906 kB / 342.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.3243, allocations: 4.047 kB / 342.3 MB, free: 14.27 MB / 298.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.3244, allocations: 120.9 kB / 342.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.3245, allocations: 11.89 kB / 342.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.3245, allocations: 16.61 kB / 342.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-06/0.3245, allocations: 0 / 342.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3246, allocations: 0 / 342.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.121e-06/0.3246, allocations: 0 / 342.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.3249, allocations: 217.6 kB / 342.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-06/0.3249, allocations: 0 / 342.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.325, allocations: 7.984 kB / 342.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.3252, allocations: 36.78 kB / 342.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3252, allocations: 4 kB / 342.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.3269, allocations: 1.499 MB / 344.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.111e-06/0.3269, allocations: 0 / 344.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.3273, allocations: 204.2 kB / 344.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.3274, allocations: 101 kB / 344.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3274, allocations: 8.016 kB / 344.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3276, allocations: 15.92 kB / 344.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.3276, allocations: 8 kB / 344.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.302e-06/0.3277, allocations: 0 / 344.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3278, allocations: 107.8 kB / 344.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.3278, allocations: 0 / 344.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004892/0.3283, allocations: 36 kB / 344.6 MB, free: 11.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001297/0.3284, allocations: 103.2 kB / 344.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.3289, allocations: 186.4 kB / 344.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3289, allocations: 0 / 344.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.3291, allocations: 150.6 kB / 345.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.3294, allocations: 14.2 kB / 345.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.3298, allocations: 168.7 kB / 345.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.3302, allocations: 0.7082 MB / 345.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.3303, allocations: 15.44 kB / 346 MB, free: 10.24 MB / 298.7 MB Notification: Performance of SimCode: time 1.411e-06/0.3303, allocations: 0 / 346 MB, free: 10.24 MB / 298.7 MB Notification: Performance of Templates: time 0.004218/0.3345, allocations: 1.831 MB / 347.8 MB, free: 8.41 MB / 298.7 MB