Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.004922/0.004922, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001187/0.001187, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.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.001806/0.001806, allocations: 50.28 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1217, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006495/0.1282, allocations: 5.007 MB / 378.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1393, allocations: 10.44 MB / 388.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.1402, allocations: 31.75 kB / 388.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.142, allocations: 0.6787 MB / 389.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.1447, allocations: 0.9867 MB / 390.3 MB, free: 104 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.1462, allocations: 0.5922 MB / 390.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.1481, allocations: 1.353 MB / 392.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.1484, allocations: 173.2 kB / 392.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.1487, allocations: 274.6 kB / 392.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.1491, allocations: 314 kB / 393 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.1492, allocations: 32 kB / 393 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.1506, allocations: 0.6791 MB / 393.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1507, allocations: 111.2 kB / 393.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.151, allocations: 405.4 kB / 394.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.1523, allocations: 1.265 MB / 395.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1524, allocations: 0 / 395.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1524, allocations: 0 / 395.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.1524, allocations: 0 / 395.5 MB, free: 10.9 MB / 334.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.001845/0.1542, allocations: 1.319 MB / 396.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1543, allocations: 8.031 kB / 396.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1544, allocations: 115.5 kB / 396.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1555, allocations: 0.7505 MB / 397.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.1555, allocations: 24.56 kB / 397.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.1556, allocations: 24 kB / 397.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.1562, allocations: 317.3 kB / 398 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1562, allocations: 3.984 kB / 398 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.1563, allocations: 8 kB / 398 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.1563, allocations: 8 kB / 398 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.1569, allocations: 278.2 kB / 398.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.1589, allocations: 1.372 MB / 399.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/0.1596, allocations: 286.7 kB / 400 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.16, allocations: 260.4 kB / 400.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004226/0.1643, allocations: 3.6 MB / 403.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/0.1647, allocations: 183.3 kB / 404 MB, free: 1.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.1647, allocations: 0 / 404 MB, free: 1.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00165/0.1664, allocations: 0.7304 MB / 404.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.1664, allocations: 59.41 kB / 404.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/0.1673, allocations: 0.8155 MB / 405.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.1674, allocations: 25.7 kB / 405.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.1677, allocations: 452.4 kB / 406.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.1678, allocations: 106.5 kB / 406.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1679, allocations: 73.94 kB / 406.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.168, allocations: 318 kB / 406.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.1683, allocations: 116.7 kB / 406.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.1687, allocations: 220.1 kB / 406.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006714/0.1693, allocations: 360.9 kB / 407.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1694, allocations: 0 / 407.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009459/0.1703, allocations: 0.5285 MB / 407.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1703, allocations: 4.438 kB / 407.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.177e-05/0.1704, allocations: 39.98 kB / 407.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.1706, allocations: 49.69 kB / 407.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.1709, allocations: 75.89 kB / 407.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.1729, allocations: 2.844 MB / 410.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.1732, allocations: 47.77 kB / 410.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.1733, allocations: 19.98 kB / 410.8 MB, free: 10.25 MB / 350.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.0002538/0.1735, allocations: 213.6 kB / 411.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1736, allocations: 106.8 kB / 411.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.1747, allocations: 493.7 kB / 411.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.1747, allocations: 7.938 kB / 411.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1747, allocations: 0 / 411.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1747, allocations: 3.984 kB / 411.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.1753, allocations: 0.5467 MB / 412.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.048e-05/0.1754, allocations: 32 kB / 412.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.1756, allocations: 47.95 kB / 412.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.1758, allocations: 53.62 kB / 412.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.1758, allocations: 15.98 kB / 412.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.1778, allocations: 2.836 MB / 415.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1778, allocations: 0 / 415.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.179, allocations: 0.6114 MB / 415.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.1792, allocations: 183.7 kB / 416 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/0.1793, allocations: 8 kB / 416 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.1795, allocations: 15.98 kB / 416 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.1796, allocations: 31.97 kB / 416 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.1797, allocations: 11.94 kB / 416 MB, free: 4.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005834/0.1802, allocations: 0.5506 MB / 416.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1803, allocations: 0 / 416.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006287/0.1809, allocations: 239.7 kB / 416.8 MB, free: 3.859 MB / 350.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.0005725/0.1815, allocations: 348.2 kB / 417.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.1825, allocations: 0.5963 MB / 417.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1825, allocations: 0.875 kB / 417.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.1831, allocations: 438.9 kB / 418.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.1836, allocations: 100.4 kB / 418.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.186, allocations: 1.508 MB / 419.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.1865, allocations: 0.9522 MB / 420.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002273/0.1867, allocations: 81.2 kB / 420.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.08e-05/0.1868, allocations: 47.38 kB / 420.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1868, allocations: 4 kB / 420.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Templates: time 0.01596/0.2028, allocations: 8.569 MB / 429.4 MB, free: 7.09 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)