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.638/1.638, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003781, allocations: 8 kB / 233.2 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07598/0.07638, allocations: 38.77 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002608/0.07904, allocations: 1.725 MB / 273.7 MB, free: 10.46 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.08, allocations: 459.5 kB / 274.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.08012, allocations: 3.938 kB / 274.1 MB, free: 10 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.08019, allocations: 19.86 kB / 274.1 MB, free: 9.984 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.08035, allocations: 43.83 kB / 274.2 MB, free: 9.941 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.08056, allocations: 31.95 kB / 274.2 MB, free: 9.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.08077, allocations: 111.8 kB / 274.3 MB, free: 9.801 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.08093, allocations: 41.45 kB / 274.3 MB, free: 9.758 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.08108, allocations: 59.72 kB / 274.4 MB, free: 9.699 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.08121, allocations: 55.77 kB / 274.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.08125, allocations: 8 kB / 274.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.08133, allocations: 8 kB / 274.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.08137, allocations: 23.91 kB / 274.5 MB, free: 9.605 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.08144, allocations: 53.64 kB / 274.6 MB, free: 9.547 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.08164, allocations: 116 kB / 274.7 MB, free: 9.434 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.559e-06/0.08166, allocations: 0 / 274.7 MB, free: 9.434 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.076e-06/0.08167, allocations: 0 / 274.7 MB, free: 9.434 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.08169, allocations: 0 / 274.7 MB, free: 9.434 MB / 234.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.0006538/0.08235, allocations: 427 kB / 275.1 MB, free: 8.969 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.0824, allocations: 11.97 kB / 275.1 MB, free: 8.957 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.08253, allocations: 15.81 kB / 275.1 MB, free: 8.941 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.08282, allocations: 194.9 kB / 275.3 MB, free: 8.711 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.08286, allocations: 12.19 kB / 275.3 MB, free: 8.699 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.0829, allocations: 12 kB / 275.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.08322, allocations: 127.5 kB / 275.4 MB, free: 8.559 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.08325, allocations: 0 / 275.4 MB, free: 8.559 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.08328, allocations: 4 kB / 275.4 MB, free: 8.555 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.0833, allocations: 4 kB / 275.5 MB, free: 8.551 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.08358, allocations: 80.66 kB / 275.5 MB, free: 8.473 MB / 234.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.001136/0.08473, allocations: 0.5876 MB / 276.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.08511, allocations: 94.55 kB / 276.2 MB, free: 7.707 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.08515, allocations: 0 / 276.2 MB, free: 7.707 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.0852, allocations: 38.69 kB / 276.3 MB, free: 7.66 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.101e-06/0.08521, allocations: 0 / 276.3 MB, free: 7.66 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008658/0.08609, allocations: 259.4 kB / 276.5 MB, free: 7.379 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.08615, allocations: 55.36 kB / 276.6 MB, free: 7.312 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.08634, allocations: 146.3 kB / 276.7 MB, free: 7.16 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.08638, allocations: 29.64 kB / 276.7 MB, free: 7.125 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.08652, allocations: 198.1 kB / 276.9 MB, free: 6.93 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.08656, allocations: 19.7 kB / 276.9 MB, free: 6.91 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.154e-06/0.08658, allocations: 0 / 276.9 MB, free: 6.91 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.08675, allocations: 314.8 kB / 277.2 MB, free: 6.594 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.08685, allocations: 23.98 kB / 277.3 MB, free: 6.57 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.08699, allocations: 50.44 kB / 277.3 MB, free: 6.512 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.08711, allocations: 31.98 kB / 277.4 MB, free: 6.48 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-06/0.08712, allocations: 0 / 277.4 MB, free: 6.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003965/0.08753, allocations: 130.4 kB / 277.5 MB, free: 6.344 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.08757, allocations: 8.062 kB / 277.5 MB, free: 6.336 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.364e-06/0.08758, allocations: 0 / 277.5 MB, free: 6.336 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.08782, allocations: 40.77 kB / 277.5 MB, free: 6.293 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.08792, allocations: 15.98 kB / 277.5 MB, free: 6.277 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.08998, allocations: 1.524 MB / 279.1 MB, free: 4.625 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.09011, allocations: 11.94 kB / 279.1 MB, free: 4.613 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.09013, allocations: 64 / 279.1 MB, free: 4.613 MB / 234.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.000148/0.0903, allocations: 133.8 kB / 279.2 MB, free: 4.473 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.09036, allocations: 11.89 kB / 279.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.0904, allocations: 12.72 kB / 279.2 MB, free: 4.449 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-06/0.09041, allocations: 4 kB / 279.2 MB, free: 4.445 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-06/0.09043, allocations: 0 / 279.2 MB, free: 4.445 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-06/0.09044, allocations: 0 / 279.2 MB, free: 4.445 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.09076, allocations: 213.5 kB / 279.4 MB, free: 4.188 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-06/0.09078, allocations: 0 / 279.4 MB, free: 4.188 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.09085, allocations: 11.98 kB / 279.5 MB, free: 4.176 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.09104, allocations: 40.78 kB / 279.5 MB, free: 4.133 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.09107, allocations: 0 / 279.5 MB, free: 4.133 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.09289, allocations: 1.518 MB / 281 MB, free: 2.484 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.71e-06/0.09292, allocations: 0 / 281 MB, free: 2.484 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.09336, allocations: 224.2 kB / 281.2 MB, free: 2.246 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.09348, allocations: 100.9 kB / 281.3 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.09351, allocations: 0 / 281.3 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.09366, allocations: 4 kB / 281.3 MB, free: 2.125 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.09371, allocations: 7.984 kB / 281.3 MB, free: 2.117 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.09374, allocations: 4 kB / 281.3 MB, free: 2.113 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.09386, allocations: 114.6 kB / 281.5 MB, free: 2.004 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.09388, allocations: 4.188 kB / 281.5 MB, free: 2 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004993/0.09439, allocations: 39.91 kB / 281.5 MB, free: 1.961 MB / 234.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.0001323/0.09453, allocations: 107.2 kB / 281.6 MB, free: 1.844 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004784/0.09502, allocations: 186.6 kB / 281.8 MB, free: 1.648 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.426e-06/0.09505, allocations: 8.125 kB / 281.8 MB, free: 1.641 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.09535, allocations: 154.6 kB / 282 MB, free: 1.477 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.0956, allocations: 11.98 kB / 282 MB, free: 1.465 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.09629, allocations: 370.8 kB / 282.3 MB, free: 1.074 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.09672, allocations: 0.7199 MB / 283 MB, free: 336 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.09677, allocations: 7.438 kB / 283.1 MB, free: 328 kB / 234.7 MB Notification: Performance of SimCode: time 1.458e-06/0.09678, allocations: 4 kB / 283.1 MB, free: 324 kB / 234.7 MB Notification: Performance of Templates: time 0.004358/0.1011, allocations: 1.847 MB / 284.9 MB, free: 14.47 MB / 250.7 MB