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.008/2.008, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 19.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09033, allocations: 44.5 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002944/0.09333, allocations: 1.728 MB / 310.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.09438, allocations: 476.2 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.09448, allocations: 0 / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.865e-05/0.09455, allocations: 23.84 kB / 311.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.09471, allocations: 39.91 kB / 311.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.09492, allocations: 31.95 kB / 311.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.09517, allocations: 111.7 kB / 311.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.09534, allocations: 41.45 kB / 311.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.09547, allocations: 47.84 kB / 311.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.09562, allocations: 55.77 kB / 311.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.09566, allocations: 15.94 kB / 311.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.09575, allocations: 11.98 kB / 311.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.0958, allocations: 23.91 kB / 311.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.09587, allocations: 53.64 kB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.09608, allocations: 112 kB / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.0961, allocations: 0 / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.09611, allocations: 0 / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.09612, allocations: 0 / 311.8 MB, free: 13.59 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.0007861/0.09692, allocations: 427 kB / 312.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.09697, allocations: 8.031 kB / 312.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.0971, allocations: 19.8 kB / 312.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.09739, allocations: 208.6 kB / 312.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.09742, allocations: 8.234 kB / 312.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.09746, allocations: 12 kB / 312.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.09781, allocations: 115.5 kB / 312.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.09784, allocations: 4 kB / 312.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.09787, allocations: 8 kB / 312.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.09789, allocations: 4 kB / 312.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.0982, allocations: 80.66 kB / 312.7 MB, free: 12.62 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.001141/0.09936, allocations: 0.5838 MB / 313.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.0998, allocations: 86.62 kB / 313.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.09984, allocations: 4 kB / 313.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.09987, allocations: 34.56 kB / 313.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.09988, allocations: 0 / 313.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.001104/0.101, allocations: 263.5 kB / 313.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1011, allocations: 55.41 kB / 313.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1012, allocations: 154.1 kB / 313.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1013, allocations: 25.7 kB / 313.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.1014, allocations: 127.9 kB / 314 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.1014, allocations: 23.72 kB / 314 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.1014, allocations: 4 kB / 314 MB, free: 11.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1016, allocations: 314.8 kB / 314.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1017, allocations: 27.98 kB / 314.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1018, allocations: 42.56 kB / 314.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.102, allocations: 31.98 kB / 314.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.102, allocations: 0 / 314.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004635/0.1025, allocations: 138.2 kB / 314.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1025, allocations: 4 kB / 314.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1025, allocations: 0 / 314.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/0.1028, allocations: 44.89 kB / 314.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.1029, allocations: 8 kB / 314.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.1049, allocations: 1.534 MB / 316.2 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1051, allocations: 7.938 kB / 316.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1051, allocations: 4 kB / 316.2 MB, free: 8.82 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.0001309/0.1052, allocations: 125.7 kB / 316.3 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.1053, allocations: 15.95 kB / 316.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.1053, allocations: 16.91 kB / 316.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1053, allocations: 0 / 316.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.1054, allocations: 7.938 kB / 316.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.1054, allocations: 81.02 kB / 316.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1055, allocations: 4 kB / 316.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1056, allocations: 7.984 kB / 316.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.1057, allocations: 7.984 kB / 316.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006083/0.1063, allocations: 213.7 kB / 316.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004724/0.1068, allocations: 306.7 kB / 316.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001069/0.1069, allocations: 28.17 kB / 317 MB, free: 7.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.107, allocations: 113.3 kB / 317.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of Backend: time 7.21e-07/0.1071, allocations: 0 / 317.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000683/0.1077, allocations: 253.1 kB / 317.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of SimCode: time 0.000884/0.1086, allocations: 0.82 MB / 318.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of Templates: time 0.005339/0.114, allocations: 1.216 MB / 319.4 MB, free: 5.508 MB / 266.7 MB