Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 1.683/1.683, allocations: 171.1 MB / 186.7 MB, free: 1.145 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004243, allocations: 12 kB / 233.9 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08059, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002929/0.08356, allocations: 1.728 MB / 274.4 MB, free: 9.801 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.08461, allocations: 459.5 kB / 274.8 MB, free: 9.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.08472, allocations: 4 kB / 274.8 MB, free: 9.348 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/0.08478, allocations: 11.91 kB / 274.8 MB, free: 9.336 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.08495, allocations: 51.84 kB / 274.9 MB, free: 9.285 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.08516, allocations: 27.95 kB / 274.9 MB, free: 9.258 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.08541, allocations: 115.8 kB / 275 MB, free: 9.145 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.08557, allocations: 37.45 kB / 275 MB, free: 9.105 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.08571, allocations: 55.73 kB / 275.1 MB, free: 9.051 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.08586, allocations: 59.75 kB / 275.2 MB, free: 8.992 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.0859, allocations: 4 kB / 275.2 MB, free: 8.988 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.159e-05/0.08599, allocations: 19.94 kB / 275.2 MB, free: 8.969 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.08604, allocations: 23.91 kB / 275.2 MB, free: 8.945 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.0861, allocations: 49.64 kB / 275.3 MB, free: 8.891 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.08633, allocations: 120 kB / 275.4 MB, free: 8.773 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.08634, allocations: 0 / 275.4 MB, free: 8.773 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.08636, allocations: 0 / 275.4 MB, free: 8.773 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.08637, allocations: 0 / 275.4 MB, free: 8.773 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.0006925/0.08707, allocations: 422.9 kB / 275.8 MB, free: 8.312 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.08712, allocations: 12.03 kB / 275.8 MB, free: 8.301 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.08724, allocations: 15.81 kB / 275.8 MB, free: 8.285 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.08752, allocations: 207.9 kB / 276 MB, free: 8.043 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.08755, allocations: 16.12 kB / 276 MB, free: 8.027 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.0876, allocations: 12 kB / 276 MB, free: 8.016 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.08795, allocations: 111.5 kB / 276.2 MB, free: 7.902 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.08797, allocations: 0 / 276.2 MB, free: 7.902 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.08801, allocations: 12 kB / 276.2 MB, free: 7.891 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.08802, allocations: 0 / 276.2 MB, free: 7.891 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.08833, allocations: 80.67 kB / 276.2 MB, free: 7.812 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.00115/0.0895, allocations: 0.5876 MB / 276.8 MB, free: 7.148 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.08992, allocations: 86.62 kB / 276.9 MB, free: 7.055 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.08996, allocations: 7.984 kB / 276.9 MB, free: 7.047 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.09, allocations: 34.56 kB / 277 MB, free: 7.004 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.09001, allocations: 0 / 277 MB, free: 7.004 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.001032/0.09105, allocations: 259.5 kB / 277.2 MB, free: 6.723 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.09111, allocations: 55.36 kB / 277.3 MB, free: 6.656 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.09129, allocations: 154.3 kB / 277.4 MB, free: 6.496 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.09133, allocations: 25.7 kB / 277.4 MB, free: 6.465 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.09144, allocations: 131.6 kB / 277.6 MB, free: 6.332 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.09148, allocations: 23.66 kB / 277.6 MB, free: 6.309 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.09149, allocations: 0 / 277.6 MB, free: 6.309 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.09164, allocations: 330.8 kB / 277.9 MB, free: 5.977 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.09175, allocations: 19.98 kB / 277.9 MB, free: 5.957 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.09189, allocations: 42.56 kB / 278 MB, free: 5.906 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.09203, allocations: 28 kB / 278 MB, free: 5.879 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.09205, allocations: 4 kB / 278 MB, free: 5.875 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004593/0.09251, allocations: 142.2 kB / 278.1 MB, free: 5.727 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.09255, allocations: 4 kB / 278.2 MB, free: 5.723 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.09257, allocations: 4 kB / 278.2 MB, free: 5.719 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.09282, allocations: 32.91 kB / 278.2 MB, free: 5.684 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.09294, allocations: 15.98 kB / 278.2 MB, free: 5.668 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.09501, allocations: 1.521 MB / 279.7 MB, free: 4.02 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.09517, allocations: 19.83 kB / 279.7 MB, free: 4 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.0952, allocations: 7.938 kB / 279.8 MB, free: 3.992 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.0001565/0.09536, allocations: 125.7 kB / 279.9 MB, free: 3.859 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.09542, allocations: 11.97 kB / 279.9 MB, free: 3.848 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.09546, allocations: 12.91 kB / 279.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.09547, allocations: 3.984 kB / 279.9 MB, free: 3.832 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.09549, allocations: 3.984 kB / 279.9 MB, free: 3.828 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.09559, allocations: 89.02 kB / 280 MB, free: 3.723 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.09562, allocations: 0 / 280 MB, free: 3.723 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.0958, allocations: 11.98 kB / 280 MB, free: 3.711 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.09587, allocations: 11.94 kB / 280 MB, free: 3.699 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000606/0.09648, allocations: 209.7 kB / 280.2 MB, free: 3.484 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004969/0.09699, allocations: 306.8 kB / 280.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001086/0.09712, allocations: 20.05 kB / 280.5 MB, free: 3.148 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.09725, allocations: 115.8 kB / 280.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of Backend: time 7.21e-07/0.09726, allocations: 0 / 280.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.09798, allocations: 256.9 kB / 280.9 MB, free: 2.766 MB / 234.7 MB Notification: Performance of SimCode: time 0.0009025/0.0989, allocations: 0.8261 MB / 281.7 MB, free: 1.891 MB / 234.7 MB Notification: Performance of Templates: time 0.005509/0.1044, allocations: 1.219 MB / 282.9 MB, free: 0.6758 MB / 234.7 MB