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.Spice3BenchmarkRtlInverter.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.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003718, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09602, allocations: 44.5 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006504/0.1026, allocations: 4.149 MB / 313.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.1181, allocations: 9.047 MB / 322.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/0.1189, allocations: 11.94 kB / 322.3 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.1214, allocations: 0.6067 MB / 322.9 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.125, allocations: 0.8373 MB / 323.7 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.1268, allocations: 419.3 kB / 324.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003257/0.1301, allocations: 1.118 MB / 325.2 MB, free: 140 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.1305, allocations: 151.8 kB / 325.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.1309, allocations: 242.8 kB / 325.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.1314, allocations: 278.2 kB / 325.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.1315, allocations: 20 kB / 325.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.1339, allocations: 0.6596 MB / 326.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.1341, allocations: 87.38 kB / 326.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.1344, allocations: 189.2 kB / 326.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.136, allocations: 0.8804 MB / 327.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1361, allocations: 0 / 327.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1361, allocations: 0 / 327.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.1361, allocations: 0 / 327.7 MB, free: 13.62 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002658/0.1388, allocations: 1.199 MB / 328.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1388, allocations: 11.97 kB / 328.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.139, allocations: 110.7 kB / 329 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.1406, allocations: 0.7039 MB / 329.7 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.1406, allocations: 16.56 kB / 329.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.1407, allocations: 31.88 kB / 329.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1417, allocations: 333.3 kB / 330.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1417, allocations: 0 / 330.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.1418, allocations: 11.95 kB / 330.1 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.1418, allocations: 11.98 kB / 330.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1429, allocations: 294.2 kB / 330.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.1459, allocations: 1.384 MB / 331.8 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1471, allocations: 310.8 kB / 332.1 MB, free: 9.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006465/0.1535, allocations: 3.604 MB / 335.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006748/0.1543, allocations: 204.4 kB / 335.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 3.367e-06/0.1543, allocations: 0 / 335.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002619/0.1569, allocations: 0.8456 MB / 336.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.157, allocations: 59.39 kB / 336.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.1584, allocations: 0.8076 MB / 337.6 MB, free: 2.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.1584, allocations: 29.7 kB / 337.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000543/0.159, allocations: 452.4 kB / 338.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.1591, allocations: 94.64 kB / 338.2 MB, free: 2.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1592, allocations: 4 kB / 338.2 MB, free: 2.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1593, allocations: 322 kB / 338.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.1599, allocations: 124.7 kB / 338.6 MB, free: 1.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.1605, allocations: 236 kB / 338.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.161, allocations: 159.8 kB / 339 MB, free: 1.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1611, allocations: 0 / 339 MB, free: 1.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001671/0.1627, allocations: 0.537 MB / 339.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1628, allocations: 11.97 kB / 339.6 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.188e-05/0.1629, allocations: 32 kB / 339.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.1632, allocations: 57.69 kB / 339.7 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.1637, allocations: 79.81 kB / 339.7 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.1665, allocations: 2.67 MB / 342.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.1671, allocations: 47.67 kB / 342.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.1672, allocations: 16 kB / 342.5 MB, free: 13.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004188/0.1676, allocations: 201.8 kB / 342.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.1678, allocations: 110.7 kB / 342.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.1697, allocations: 0.5049 MB / 343.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1697, allocations: 0 / 343.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.479e-05/0.1698, allocations: 31.98 kB / 343.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.1701, allocations: 187.9 kB / 343.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.1703, allocations: 4 kB / 343.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.1707, allocations: 27.95 kB / 343.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1708, allocations: 27.97 kB / 343.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001863/0.1727, allocations: 498.2 kB / 344 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001898/0.1746, allocations: 0.7255 MB / 344.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005109/0.1751, allocations: 138.9 kB / 344.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.1762, allocations: 0.5389 MB / 345.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Backend: time 6.51e-07/0.1762, allocations: 0 / 345.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.1787, allocations: 0.8934 MB / 346.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of SimCode: time 0.003522/0.1823, allocations: 2.163 MB / 348.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of Templates: time 0.02842/0.2107, allocations: 9.25 MB / 357.7 MB, free: 14.2 MB / 314.7 MB