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.HeatingResistor.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.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 2.272/2.272, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 15.98 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 44.5 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5317, allocations: 72.97 MB / 382 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.5321, allocations: 77.38 kB / 382.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01132/0.5435, allocations: 2.72 MB / 384.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5435, allocations: 0.9844 kB / 384.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.5435, allocations: 2.75 kB / 384.8 MB, free: 14.94 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006357/0.5442, allocations: 423.4 kB / 385.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5443, allocations: 9.625 kB / 385.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.5444, allocations: 20 kB / 385.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.5446, allocations: 201 kB / 385.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5447, allocations: 8.016 kB / 385.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.5447, allocations: 21.27 kB / 385.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.5451, allocations: 119 kB / 385.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5451, allocations: 4 kB / 385.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.5452, allocations: 4.844 kB / 385.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.5452, allocations: 3.25 kB / 385.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.5455, allocations: 79.34 kB / 385.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.5466, allocations: 0.532 MB / 386.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.547, allocations: 84.38 kB / 386.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.547, allocations: 7.984 kB / 386.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.5471, allocations: 35 kB / 386.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.926e-06/0.5471, allocations: 1.469 kB / 386.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.001066/0.5482, allocations: 261 kB / 386.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.5482, allocations: 52.62 kB / 386.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.5484, allocations: 144 kB / 386.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.5484, allocations: 26.92 kB / 386.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.5485, allocations: 127.5 kB / 386.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.5485, allocations: 25.31 kB / 387 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.5486, allocations: 0 / 387 MB, free: 13.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.5486, allocations: 321.3 kB / 387.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.5488, allocations: 26.38 kB / 387.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.5489, allocations: 42.38 kB / 387.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.549, allocations: 37.58 kB / 387.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.549, allocations: 0 / 387.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004617/0.5495, allocations: 141.7 kB / 387.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5495, allocations: 5.312 kB / 387.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5496, allocations: 3.938 kB / 387.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.5498, allocations: 43.31 kB / 387.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.55, allocations: 11.42 kB / 387.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.5518, allocations: 1.53 MB / 389.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.552, allocations: 9.281 kB / 389.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.552, allocations: 2.656 kB / 389.1 MB, free: 11.6 MB / 314.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 () * Number of clocked 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.000142/0.5522, allocations: 124.5 kB / 389.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.5523, allocations: 11.91 kB / 389.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.5523, allocations: 11.06 kB / 389.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.5523, allocations: 0 / 389.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5523, allocations: 5.203 kB / 389.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5523, allocations: 3.938 kB / 389.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.5526, allocations: 208.4 kB / 389.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5526, allocations: 1.688 kB / 389.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.5527, allocations: 3.969 kB / 389.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.5529, allocations: 39.98 kB / 389.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.5529, allocations: 3.812 kB / 389.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.5544, allocations: 1.523 MB / 391.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5545, allocations: 1.312 kB / 391.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.555, allocations: 217.2 kB / 391.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.555, allocations: 89.52 kB / 391.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.5551, allocations: 1.312 kB / 391.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.5553, allocations: 7.578 kB / 391.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.5553, allocations: 9.547 kB / 391.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5553, allocations: 1.312 kB / 391.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.5555, allocations: 108.4 kB / 391.5 MB, free: 9.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5555, allocations: 1.312 kB / 391.5 MB, free: 9.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005294/0.556, allocations: 43.06 kB / 391.5 MB, free: 9.566 MB / 314.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 () * Number of clocked 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.0001236/0.5561, allocations: 108.6 kB / 391.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005633/0.5567, allocations: 192.9 kB / 391.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5567, allocations: 0 / 391.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.557, allocations: 160.9 kB / 392 MB, free: 9.238 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.5573, allocations: 9.578 kB / 392 MB, free: 9.238 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.558, allocations: 329.7 kB / 392.3 MB, free: 9.031 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.5582, allocations: 0.7197 MB / 393 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.072e-05/0.5583, allocations: 5.484 kB / 393 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.5583, allocations: 13.19 kB / 393 MB, free: 8.32 MB / 314.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5583, allocations: 3.938 kB / 393.1 MB, free: 8.316 MB / 314.7 MB Notification: Performance of Templates: time 0.005533/0.5639, allocations: 1.318 MB / 394.4 MB, free: 8.195 MB / 314.7 MB