Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 1.595/1.595, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.000471, allocations: 12 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09391, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006651/0.1006, allocations: 4.245 MB / 276.9 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.1114, allocations: 5.655 MB / 282.5 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006251/0.1121, allocations: 39.69 kB / 282.6 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.1137, allocations: 409.9 kB / 283 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.1163, allocations: 0.7125 MB / 283.7 MB, free: 448 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1176, allocations: 307.2 kB / 284 MB, free: 140 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004669/0.1223, allocations: 1.794 MB / 285.8 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.1227, allocations: 151.5 kB / 285.9 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.1233, allocations: 298.5 kB / 286.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.1238, allocations: 310 kB / 286.5 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/0.1239, allocations: 16 kB / 286.5 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.1253, allocations: 419.6 kB / 286.9 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.1255, allocations: 95.31 kB / 287 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.1257, allocations: 213.1 kB / 287.2 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.1272, allocations: 0.9115 MB / 288.2 MB, free: 11.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1272, allocations: 0 / 288.2 MB, free: 11.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1273, allocations: 8 kB / 288.2 MB, free: 11.92 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1273, allocations: 0 / 288.2 MB, free: 11.92 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002604/0.1299, allocations: 1.293 MB / 289.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1299, allocations: 8.031 kB / 289.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.1302, allocations: 126.5 kB / 289.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.1319, allocations: 0.8047 MB / 290.4 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.132, allocations: 16.44 kB / 290.4 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.1321, allocations: 24 kB / 290.4 MB, free: 9.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008103/0.1329, allocations: 318.6 kB / 290.7 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1329, allocations: 0 / 290.7 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.133, allocations: 8 kB / 290.8 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.133, allocations: 7.938 kB / 290.8 MB, free: 9.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.1337, allocations: 233.8 kB / 291 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.1363, allocations: 1.153 MB / 292.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.1369, allocations: 238.5 kB / 292.4 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/0.1382, allocations: 0.7593 MB / 293.1 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.1383, allocations: 38.81 kB / 293.2 MB, free: 6.566 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 3.026e-06/0.1383, allocations: 0 / 293.2 MB, free: 6.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.004788/0.1431, allocations: 1.969 MB / 295.1 MB, free: 4.406 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.1432, allocations: 110.8 kB / 295.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.1447, allocations: 0.9262 MB / 296.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.1448, allocations: 29.7 kB / 296.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.1452, allocations: 361.5 kB / 296.6 MB, free: 2.949 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.1454, allocations: 134 kB / 296.7 MB, free: 2.816 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1454, allocations: 7.938 kB / 296.7 MB, free: 2.809 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1456, allocations: 322 kB / 297 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.146, allocations: 124.6 kB / 297.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.1465, allocations: 159.8 kB / 297.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.147, allocations: 179.1 kB / 297.5 MB, free: 2.016 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.147, allocations: 4 kB / 297.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001511/0.1485, allocations: 0.5597 MB / 298 MB, free: 1.434 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.1486, allocations: 37.7 kB / 298.1 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.798e-05/0.1487, allocations: 15.98 kB / 298.1 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/0.149, allocations: 73.72 kB / 298.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.1494, allocations: 47.91 kB / 298.2 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2054/0.3548, allocations: 2.99 MB / 301.2 MB, free: 28.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.3554, allocations: 14.25 kB / 301.2 MB, free: 28.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.942e-05/0.3555, allocations: 20.22 kB / 301.2 MB, free: 28.5 MB / 250.7 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005808/0.3561, allocations: 267.2 kB / 301.5 MB, free: 28.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.3563, allocations: 121.9 kB / 301.6 MB, free: 28.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.3586, allocations: 0.6846 MB / 302.3 MB, free: 28.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3586, allocations: 5.156 kB / 302.3 MB, free: 28.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.084e-05/0.3586, allocations: 17.23 kB / 302.3 MB, free: 28.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.3591, allocations: 278.5 kB / 302.6 MB, free: 28.13 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.3593, allocations: 6.609 kB / 302.6 MB, free: 28.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.3598, allocations: 13.45 kB / 302.6 MB, free: 28.13 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.36, allocations: 34.23 kB / 302.6 MB, free: 28.13 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001885/0.3619, allocations: 0.6527 MB / 303.3 MB, free: 27.9 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001779/0.3637, allocations: 0.8748 MB / 304.2 MB, free: 27.42 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005329/0.3642, allocations: 179 kB / 304.3 MB, free: 27.35 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.3653, allocations: 0.6157 MB / 305 MB, free: 27.09 MB / 250.7 MB Notification: Performance of Backend: time 5.41e-07/0.3653, allocations: 0 / 305 MB, free: 27.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.3674, allocations: 0.9072 MB / 305.9 MB, free: 26.51 MB / 250.7 MB Notification: Performance of SimCode: time 0.003251/0.3707, allocations: 2.539 MB / 308.4 MB, free: 24.73 MB / 250.7 MB Notification: Performance of Templates: time 0.02542/0.3961, allocations: 8.138 MB / 316.5 MB, free: 21.79 MB / 250.7 MB