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.907/1.907, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005537, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09675, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.5368, allocations: 81.97 MB / 354.6 MB, free: 7.691 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/0.5372, allocations: 85.08 kB / 354.7 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1685/0.7057, allocations: 44.2 MB / 398.9 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7058, allocations: 0 / 398.9 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.64e-05/0.7059, allocations: 12 kB / 398.9 MB, free: 0.832 MB / 314.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.004234/0.7101, allocations: 1.288 MB / 400.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.7102, allocations: 8.031 kB / 400.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003444/0.7105, allocations: 118.6 kB / 400.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.713, allocations: 0.7237 MB / 401 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.7131, allocations: 18.5 kB / 401 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.7132, allocations: 33.33 kB / 401.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.7146, allocations: 326.7 kB / 401.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.7147, allocations: 0 / 401.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.7147, allocations: 14.81 kB / 401.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.7148, allocations: 10.81 kB / 401.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.7163, allocations: 294.3 kB / 401.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004125/0.7204, allocations: 1.394 MB / 403.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.722, allocations: 318.3 kB / 403.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.7323, allocations: 4.2 MB / 407.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009075/0.7332, allocations: 215.8 kB / 407.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.888e-06/0.7333, allocations: 0 / 407.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.003651/0.7369, allocations: 0.8348 MB / 408.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.737, allocations: 55.59 kB / 408.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.7393, allocations: 0.8427 MB / 409.5 MB, free: 5.605 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.7394, allocations: 29.7 kB / 409.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007815/0.7402, allocations: 452.4 kB / 410 MB, free: 5.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.7403, allocations: 98.62 kB / 410.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.7404, allocations: 8 kB / 410.1 MB, free: 5.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7406, allocations: 318 kB / 410.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.7411, allocations: 124.7 kB / 410.5 MB, free: 4.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/0.7418, allocations: 236.8 kB / 410.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006078/0.7424, allocations: 155.8 kB / 410.9 MB, free: 4.148 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7425, allocations: 0 / 410.9 MB, free: 4.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001921/0.7444, allocations: 0.5368 MB / 411.5 MB, free: 3.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.7445, allocations: 8.062 kB / 411.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-05/0.7446, allocations: 32 kB / 411.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.7449, allocations: 61.67 kB / 411.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/0.7455, allocations: 75.89 kB / 411.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.7486, allocations: 2.662 MB / 414.3 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.7494, allocations: 47.61 kB / 414.3 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.7495, allocations: 23.98 kB / 414.4 MB, free: 428 kB / 330.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.0005509/0.75, allocations: 209.8 kB / 414.6 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.7503, allocations: 106.8 kB / 414.7 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.7524, allocations: 0.5093 MB / 415.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.7525, allocations: 7.953 kB / 415.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7525, allocations: 0 / 415.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.7525, allocations: 3.984 kB / 415.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.7537, allocations: 0.5777 MB / 415.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.078e-05/0.7538, allocations: 32 kB / 415.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.7543, allocations: 47.95 kB / 415.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.7546, allocations: 49.62 kB / 415.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.7547, allocations: 23.94 kB / 415.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.7577, allocations: 2.654 MB / 418.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7578, allocations: 480 / 418.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.7601, allocations: 0.6356 MB / 419.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.7606, allocations: 195.7 kB / 419.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.7608, allocations: 0 / 419.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.7613, allocations: 19.98 kB / 419.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.7614, allocations: 40 kB / 419.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.7615, allocations: 8 kB / 419.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.7627, allocations: 0.5662 MB / 420 MB, free: 10.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.7627, allocations: 3.938 kB / 420 MB, free: 10.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001339/0.7641, allocations: 283.5 kB / 420.3 MB, free: 10.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001125/0.7652, allocations: 437.2 kB / 420.8 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.7671, allocations: 0.6011 MB / 421.4 MB, free: 9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7671, allocations: 3.938 kB / 421.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.7682, allocations: 451 kB / 421.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/0.7689, allocations: 95.59 kB / 421.9 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.7734, allocations: 1.735 MB / 423.6 MB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.7742, allocations: 0.9719 MB / 424.6 MB, free: 5.668 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005737/0.7748, allocations: 97.72 kB / 424.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.775, allocations: 47.44 kB / 424.7 MB, free: 5.523 MB / 346.7 MB Notification: Performance of SimCode: time 3.697e-06/0.775, allocations: 3.938 kB / 424.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of Templates: time 0.2612/1.036, allocations: 9.543 MB / 434.3 MB, free: 91.67 MB / 346.7 MB