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.Spice3BenchmarkRtlInverter.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.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 8 kB / 233.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/0.08306, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006618/0.08974, allocations: 4.144 MB / 276.8 MB, free: 7.367 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01573/0.1055, allocations: 9.042 MB / 285.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007739/0.1063, allocations: 4 kB / 285.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.1089, allocations: 0.6067 MB / 286.4 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.1125, allocations: 0.8489 MB / 287.3 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.1142, allocations: 403.4 kB / 287.7 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003223/0.1175, allocations: 1.13 MB / 288.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.1179, allocations: 151.8 kB / 288.9 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003845/0.1183, allocations: 234.8 kB / 289.2 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.1187, allocations: 282.2 kB / 289.5 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/0.1188, allocations: 16 kB / 289.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.1211, allocations: 0.6597 MB / 290.1 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1212, allocations: 87.38 kB / 290.2 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.1215, allocations: 193.1 kB / 290.4 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.123, allocations: 0.8803 MB / 291.3 MB, free: 8.797 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.123, allocations: 0 / 291.3 MB, free: 8.797 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1231, allocations: 0 / 291.3 MB, free: 8.797 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1231, allocations: 4 kB / 291.3 MB, free: 8.793 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00264/0.1257, allocations: 1.199 MB / 292.5 MB, free: 7.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1258, allocations: 8.031 kB / 292.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.126, allocations: 118.5 kB / 292.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.1276, allocations: 0.6961 MB / 293.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.1277, allocations: 24.56 kB / 293.3 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.879e-05/0.1278, allocations: 24 kB / 293.4 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1288, allocations: 325.3 kB / 293.7 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1288, allocations: 0 / 293.7 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.1289, allocations: 12 kB / 293.7 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.1289, allocations: 8 kB / 293.7 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.13, allocations: 310 kB / 294 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.1332, allocations: 1.365 MB / 295.4 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1343, allocations: 326.2 kB / 295.7 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006333/0.1407, allocations: 3.62 MB / 299.3 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2282/0.3689, allocations: 195.2 kB / 299.5 MB, free: 32.38 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 4.378e-06/0.369, allocations: 3.688 kB / 299.5 MB, free: 32.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.002703/0.3717, allocations: 0.8406 MB / 300.3 MB, free: 32.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3718, allocations: 55.8 kB / 300.4 MB, free: 31.96 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.3733, allocations: 0.802 MB / 301.2 MB, free: 31.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/0.3734, allocations: 33.03 kB / 301.2 MB, free: 31.79 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.3739, allocations: 454.5 kB / 301.7 MB, free: 31.51 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.374, allocations: 96.02 kB / 301.8 MB, free: 31.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.374, allocations: 10.19 kB / 301.8 MB, free: 31.44 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.3741, allocations: 317.4 kB / 302.1 MB, free: 31.13 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.3747, allocations: 125.3 kB / 302.2 MB, free: 31.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/0.3752, allocations: 234.8 kB / 302.4 MB, free: 30.92 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005672/0.3758, allocations: 154.6 kB / 302.6 MB, free: 30.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3758, allocations: 1.312 kB / 302.6 MB, free: 30.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001704/0.3775, allocations: 0.5361 MB / 303.1 MB, free: 30.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.3776, allocations: 9.906 kB / 303.1 MB, free: 30.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/0.3777, allocations: 35.06 kB / 303.2 MB, free: 30.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/0.378, allocations: 56.22 kB / 303.2 MB, free: 30.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.3786, allocations: 81.56 kB / 303.3 MB, free: 30.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.3807, allocations: 2.662 MB / 306 MB, free: 27.94 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.3814, allocations: 43.33 kB / 306 MB, free: 27.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.3814, allocations: 24.61 kB / 306 MB, free: 27.91 MB / 250.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.0003786/0.3818, allocations: 198.9 kB / 306.2 MB, free: 27.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.382, allocations: 109.6 kB / 306.3 MB, free: 27.69 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.3839, allocations: 0.5134 MB / 306.8 MB, free: 27.49 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.384, allocations: 3.281 kB / 306.8 MB, free: 27.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.036e-05/0.384, allocations: 29.28 kB / 306.9 MB, free: 27.49 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.3844, allocations: 192.5 kB / 307.1 MB, free: 27.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.3845, allocations: 8.047 kB / 307.1 MB, free: 27.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.385, allocations: 22.27 kB / 307.1 MB, free: 27.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3851, allocations: 24.3 kB / 307.1 MB, free: 27.32 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002683/0.3878, allocations: 496.4 kB / 307.6 MB, free: 27.09 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003185/0.3911, allocations: 0.7285 MB / 308.3 MB, free: 26.68 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008254/0.3919, allocations: 134.1 kB / 308.5 MB, free: 26.64 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001987/0.394, allocations: 0.5437 MB / 309 MB, free: 26.4 MB / 250.7 MB Notification: Performance of Backend: time 4.378e-06/0.394, allocations: 0 / 309 MB, free: 26.4 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003862/0.3979, allocations: 0.9013 MB / 309.9 MB, free: 25.98 MB / 250.7 MB Notification: Performance of SimCode: time 0.003691/0.4017, allocations: 2.158 MB / 312.1 MB, free: 24.48 MB / 250.7 MB Notification: Performance of Templates: time 0.02734/0.4291, allocations: 9.265 MB / 321.3 MB, free: 19.36 MB / 250.7 MB