Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 15.94 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09087, allocations: 44.5 MB / 309.1 MB, free: 392 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00662/0.09754, allocations: 4.246 MB / 313.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.1085, allocations: 5.659 MB / 319 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007065/0.1093, allocations: 39.69 kB / 319 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.111, allocations: 414 kB / 319.4 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.1141, allocations: 0.7047 MB / 320.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.1154, allocations: 311.2 kB / 320.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004944/0.1204, allocations: 1.805 MB / 322.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.1208, allocations: 147.5 kB / 322.4 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.1215, allocations: 298.5 kB / 322.7 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004958/0.122, allocations: 306 kB / 323 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.876e-05/0.1221, allocations: 16 kB / 323 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.1236, allocations: 431.6 kB / 323.4 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1237, allocations: 87.33 kB / 323.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.124, allocations: 221.1 kB / 323.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.1255, allocations: 0.8998 MB / 324.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1256, allocations: 4 kB / 324.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1256, allocations: 0 / 324.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1256, allocations: 0 / 324.6 MB, free: 0.7773 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002619/0.1282, allocations: 1.293 MB / 325.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1283, allocations: 8.031 kB / 325.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.1285, allocations: 134.4 kB / 326 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.1303, allocations: 0.8047 MB / 326.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.1304, allocations: 20.38 kB / 326.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-05/0.1305, allocations: 20 kB / 326.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008206/0.1313, allocations: 310.6 kB / 327.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1313, allocations: 0 / 327.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.1314, allocations: 12 kB / 327.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.1314, allocations: 15.94 kB / 327.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006975/0.1321, allocations: 225.8 kB / 327.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.1348, allocations: 1.142 MB / 328.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.1355, allocations: 242.5 kB / 328.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.1369, allocations: 0.7554 MB / 329.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.1369, allocations: 42.56 kB / 329.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 3.206e-06/0.137, allocations: 4 kB / 329.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.005005/0.142, allocations: 1.96 MB / 331.6 MB, free: 9.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.1421, allocations: 114.8 kB / 331.7 MB, free: 9.137 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.1437, allocations: 0.9223 MB / 332.6 MB, free: 8.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.1438, allocations: 33.7 kB / 332.6 MB, free: 8.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.1442, allocations: 357.5 kB / 333 MB, free: 7.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.1444, allocations: 126.1 kB / 333.1 MB, free: 7.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1445, allocations: 8 kB / 333.1 MB, free: 7.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1446, allocations: 325.9 kB / 333.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.1451, allocations: 124.6 kB / 333.6 MB, free: 7.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.1456, allocations: 167.5 kB / 333.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.1461, allocations: 178.9 kB / 333.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1461, allocations: 4.031 kB / 333.9 MB, free: 6.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001591/0.1477, allocations: 0.5561 MB / 334.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.1478, allocations: 37.7 kB / 334.5 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.865e-05/0.1479, allocations: 20.02 kB / 334.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003574/0.1482, allocations: 65.69 kB / 334.6 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.1487, allocations: 59.8 kB / 334.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.1523, allocations: 3.001 MB / 337.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.1529, allocations: 16 kB / 337.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/0.153, allocations: 19.94 kB / 337.7 MB, free: 2.805 MB / 282.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.0005994/0.1536, allocations: 256 kB / 337.9 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.1538, allocations: 122.5 kB / 338 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.1562, allocations: 0.6764 MB / 338.7 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.1562, allocations: 7.984 kB / 338.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.09e-05/0.1563, allocations: 15.98 kB / 338.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005796/0.1568, allocations: 279.5 kB / 339 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.157, allocations: 12 kB / 339 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.1576, allocations: 15.98 kB / 339 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.1577, allocations: 35.91 kB / 339.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001997/0.1597, allocations: 0.6516 MB / 339.7 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001968/0.1617, allocations: 0.8733 MB / 340.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004886/0.1622, allocations: 173.2 kB / 340.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001209/0.1634, allocations: 0.614 MB / 341.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of Backend: time 5.61e-07/0.1634, allocations: 3.938 kB / 341.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.1658, allocations: 0.9037 MB / 342.3 MB, free: 14 MB / 298.7 MB Notification: Performance of SimCode: time 0.00377/0.1696, allocations: 2.535 MB / 344.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of Templates: time 0.0272/0.1968, allocations: 8.139 MB / 353 MB, free: 3.258 MB / 298.7 MB