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.HeatingResistor.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.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 194.8 MB / 211.6 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005611/0.0005613, allocations: 12 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09186, allocations: 44.5 MB / 308.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002681/0.09458, allocations: 1.724 MB / 310.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.09561, allocations: 484.1 kB / 310.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.09573, allocations: 0 / 310.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.09579, allocations: 11.92 kB / 310.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.09594, allocations: 47.83 kB / 310.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.09614, allocations: 27.95 kB / 310.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.09637, allocations: 111.8 kB / 310.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.09653, allocations: 41.45 kB / 310.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.09668, allocations: 55.78 kB / 310.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.09682, allocations: 59.75 kB / 310.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.09686, allocations: 8 kB / 310.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.09693, allocations: 8 kB / 310.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.09698, allocations: 19.92 kB / 310.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.09705, allocations: 49.64 kB / 311 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.09728, allocations: 120 kB / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.699e-06/0.0973, allocations: 0 / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.09731, allocations: 0 / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.767e-06/0.09732, allocations: 0 / 311.1 MB, free: 14.27 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000641/0.09798, allocations: 419.1 kB / 311.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.09803, allocations: 12.03 kB / 311.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.09816, allocations: 19.75 kB / 311.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.09845, allocations: 214.7 kB / 311.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.09849, allocations: 8.234 kB / 311.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.09852, allocations: 8 kB / 311.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.09886, allocations: 135.4 kB / 311.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.09889, allocations: 0 / 311.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.09892, allocations: 4 kB / 311.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.09894, allocations: 4 kB / 311.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.09921, allocations: 76.67 kB / 312 MB, free: 13.29 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.001102/0.1003, allocations: 0.576 MB / 312.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.1007, allocations: 98.55 kB / 312.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1007, allocations: 7.984 kB / 312.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1008, allocations: 30.56 kB / 312.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.285e-06/0.1008, allocations: 0 / 312.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008797/0.1017, allocations: 267.5 kB / 313 MB, free: 12.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1018, allocations: 51.41 kB / 313 MB, free: 12.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1019, allocations: 148.8 kB / 313.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.102, allocations: 25.7 kB / 313.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1021, allocations: 198.3 kB / 313.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1022, allocations: 15.8 kB / 313.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-06/0.1022, allocations: 4 kB / 313.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1023, allocations: 310.8 kB / 313.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.364e-05/0.1024, allocations: 23.98 kB / 313.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1026, allocations: 54.44 kB / 313.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.759e-05/0.1027, allocations: 24 kB / 313.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-06/0.1027, allocations: 0 / 313.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004001/0.1031, allocations: 138.3 kB / 313.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1032, allocations: 8.062 kB / 313.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.515e-06/0.1032, allocations: 0 / 313.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.1034, allocations: 40.83 kB / 314 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.1035, allocations: 11.94 kB / 314 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.1056, allocations: 1.526 MB / 315.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1057, allocations: 4 kB / 315.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1057, allocations: 4.062 kB / 315.5 MB, free: 9.445 MB / 266.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.0001482/0.1059, allocations: 125.8 kB / 315.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.106, allocations: 7.906 kB / 315.6 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.106, allocations: 16.64 kB / 315.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.947e-06/0.106, allocations: 7.953 kB / 315.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-06/0.106, allocations: 0 / 315.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.359e-06/0.106, allocations: 0 / 315.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.1064, allocations: 217.5 kB / 315.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-06/0.1064, allocations: 0 / 315.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-05/0.1065, allocations: 8.188 kB / 315.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.1067, allocations: 40.83 kB / 315.9 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.833e-06/0.1067, allocations: 0 / 315.9 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.1085, allocations: 1.518 MB / 317.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.272e-06/0.1085, allocations: 4 kB / 317.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.109, allocations: 220.3 kB / 317.7 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.1091, allocations: 88.94 kB / 317.8 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1091, allocations: 4 kB / 317.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.1093, allocations: 4 kB / 317.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1093, allocations: 11.98 kB / 317.8 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1094, allocations: 192 / 317.8 MB, free: 6.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1095, allocations: 107.3 kB / 317.9 MB, free: 6.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.1095, allocations: 7.938 kB / 317.9 MB, free: 6.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005003/0.11, allocations: 43.86 kB / 317.9 MB, free: 6.797 MB / 266.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.0001327/0.1102, allocations: 99.23 kB / 318 MB, free: 6.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000492/0.1107, allocations: 190.6 kB / 318.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.429e-06/0.1107, allocations: 4.125 kB / 318.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.111, allocations: 158.5 kB / 318.4 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1112, allocations: 16.92 kB / 318.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.1119, allocations: 364.8 kB / 318.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1124, allocations: 0.7196 MB / 319.5 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.1124, allocations: 11.44 kB / 319.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of SimCode: time 1.993e-06/0.1124, allocations: 0 / 319.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of Templates: time 0.004352/0.1168, allocations: 1.837 MB / 321.3 MB, free: 3.324 MB / 266.7 MB