Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 107.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002195, allocations: 51.94 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1103, allocations: 46.63 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007515/0.1179, allocations: 5.007 MB / 331.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.1305, allocations: 10.45 MB / 342.1 MB, free: 4.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008321/0.1314, allocations: 4 kB / 342.1 MB, free: 4.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.1336, allocations: 0.675 MB / 342.8 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.1377, allocations: 0.9945 MB / 343.7 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.1402, allocations: 0.5998 MB / 344.3 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.1432, allocations: 1.33 MB / 345.7 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.1437, allocations: 177.1 kB / 345.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000462/0.1442, allocations: 270.6 kB / 346.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.1446, allocations: 321.9 kB / 346.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.1448, allocations: 36 kB / 346.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.1468, allocations: 0.6791 MB / 347.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1469, allocations: 103.3 kB / 347.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005384/0.1475, allocations: 405.4 kB / 347.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.1494, allocations: 1.246 MB / 348.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1494, allocations: 4 kB / 348.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1494, allocations: 0 / 348.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.314e-05/0.1495, allocations: 0 / 348.9 MB, free: 14.08 MB / 302.1 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.002205/0.1517, allocations: 1.33 MB / 350.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1517, allocations: 12.03 kB / 350.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.1519, allocations: 119.6 kB / 350.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/0.1529, allocations: 0.7466 MB / 351.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1529, allocations: 16.56 kB / 351.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.153, allocations: 31.98 kB / 351.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.1536, allocations: 317.3 kB / 351.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1537, allocations: 0 / 351.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.1537, allocations: 12 kB / 351.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.1537, allocations: 12 kB / 351.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.1543, allocations: 274.2 kB / 351.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.1562, allocations: 1.365 MB / 353.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.1569, allocations: 298.5 kB / 353.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/0.1573, allocations: 240.6 kB / 353.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004262/0.1616, allocations: 3.611 MB / 357.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.162, allocations: 195.3 kB / 357.4 MB, free: 4.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.1621, allocations: 0 / 357.4 MB, free: 4.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001667/0.1637, allocations: 0.7225 MB / 358.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1638, allocations: 55.41 kB / 358.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009505/0.1647, allocations: 0.8153 MB / 359 MB, free: 3.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1648, allocations: 33.7 kB / 359.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.1651, allocations: 448.5 kB / 359.5 MB, free: 2.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.1652, allocations: 94.64 kB / 359.6 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1654, allocations: 81.86 kB / 359.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1655, allocations: 322 kB / 360 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.1658, allocations: 112.7 kB / 360.1 MB, free: 1.984 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.1661, allocations: 220.1 kB / 360.3 MB, free: 1.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.1668, allocations: 364.9 kB / 360.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1668, allocations: 0 / 360.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009521/0.1677, allocations: 0.5211 MB / 361.2 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1678, allocations: 11.94 kB / 361.2 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.175e-05/0.1678, allocations: 36 kB / 361.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.1681, allocations: 49.69 kB / 361.3 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.1684, allocations: 75.88 kB / 361.4 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.1704, allocations: 2.852 MB / 364.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.1707, allocations: 43.73 kB / 364.3 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.1707, allocations: 20 kB / 364.3 MB, free: 13.41 MB / 318.1 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 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000265/0.171, allocations: 205.6 kB / 364.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1711, allocations: 110.7 kB / 364.6 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.1722, allocations: 493.8 kB / 365.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1723, allocations: 4 kB / 365.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1723, allocations: 4 kB / 365.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1723, allocations: 0 / 365.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.1729, allocations: 0.5583 MB / 365.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.255e-05/0.1729, allocations: 32 kB / 365.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.1732, allocations: 39.95 kB / 365.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001544/0.1733, allocations: 49.62 kB / 365.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.1734, allocations: 16 kB / 365.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.1753, allocations: 2.851 MB / 368.6 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1753, allocations: 0 / 368.6 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.1765, allocations: 0.6113 MB / 369.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.1767, allocations: 183.8 kB / 369.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/0.1768, allocations: 7.984 kB / 369.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.1771, allocations: 15.98 kB / 369.4 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.1772, allocations: 31.91 kB / 369.5 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.1772, allocations: 8 kB / 369.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006629/0.1779, allocations: 0.5545 MB / 370 MB, free: 7.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1779, allocations: 4.062 kB / 370 MB, free: 7.246 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006504/0.1785, allocations: 239.7 kB / 370.3 MB, free: 7.012 MB / 318.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005517/0.1791, allocations: 352.1 kB / 370.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1802, allocations: 0.5927 MB / 371.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1802, allocations: 0 / 371.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.1808, allocations: 443.6 kB / 371.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1812, allocations: 96.31 kB / 371.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.1836, allocations: 1.532 MB / 373.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.1842, allocations: 0.9522 MB / 374.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.1845, allocations: 85.2 kB / 374.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.1845, allocations: 43.44 kB / 374.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1845, allocations: 0 / 374.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of Templates: time 0.1619/0.3465, allocations: 8.322 MB / 382.7 MB, free: 53.54 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)