Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.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.006972/0.006972, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001188/0.001188, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001173/0.001173, allocations: 58.61 kB / 326.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09791, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005517/0.1035, allocations: 4.999 MB / 378.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1143, allocations: 10.45 MB / 388.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006621/0.115, allocations: 31.75 kB / 388.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.1166, allocations: 0.6748 MB / 389.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.1192, allocations: 0.9906 MB / 390.3 MB, free: 104 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1207, allocations: 0.596 MB / 390.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.1226, allocations: 1.346 MB / 392.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.1229, allocations: 177.2 kB / 392.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.1232, allocations: 274.6 kB / 392.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1235, allocations: 314 kB / 393 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.1236, allocations: 28 kB / 393 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.1249, allocations: 0.683 MB / 393.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.125, allocations: 107.3 kB / 393.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.1253, allocations: 401.4 kB / 394.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.1267, allocations: 1.273 MB / 395.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1267, allocations: 0 / 395.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1267, allocations: 0 / 395.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1267, 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.001879/0.1286, allocations: 1.319 MB / 396.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1286, allocations: 8.031 kB / 396.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1288, allocations: 115.5 kB / 396.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.1298, allocations: 0.7505 MB / 397.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1298, allocations: 16.56 kB / 397.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.1299, allocations: 28 kB / 397.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.1305, allocations: 317.3 kB / 398 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1305, allocations: 4 kB / 398 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.1306, allocations: 11.94 kB / 398 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1306, allocations: 8 kB / 398 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.1312, allocations: 278.2 kB / 398.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.1331, allocations: 1.361 MB / 399.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006751/0.1338, allocations: 298.6 kB / 400 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.1342, allocations: 252.5 kB / 400.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003937/0.1382, allocations: 3.6 MB / 403.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.1386, allocations: 187.3 kB / 404 MB, free: 1.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/0.1386, allocations: 0 / 404 MB, free: 1.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001626/0.1403, allocations: 0.7265 MB / 404.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1403, allocations: 67.34 kB / 404.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009055/0.1412, allocations: 0.8155 MB / 405.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1413, allocations: 29.7 kB / 405.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.1416, allocations: 448.4 kB / 406.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.1417, allocations: 98.56 kB / 406.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1418, allocations: 69.92 kB / 406.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1419, allocations: 322 kB / 406.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.1423, allocations: 116.7 kB / 406.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.1426, allocations: 228.1 kB / 406.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.1433, allocations: 360.9 kB / 407.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1433, allocations: 0 / 407.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000948/0.1442, allocations: 0.5247 MB / 407.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1443, allocations: 4 kB / 407.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.697e-05/0.1443, allocations: 32 kB / 407.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.1445, allocations: 50.09 kB / 407.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.1449, allocations: 83.81 kB / 407.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.1472, allocations: 2.852 MB / 410.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.1476, allocations: 47.58 kB / 410.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.1476, allocations: 12 kB / 410.8 MB, free: 10.26 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.0003134/0.1479, allocations: 209.7 kB / 411.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.1481, allocations: 102.8 kB / 411.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1493, allocations: 0.49 MB / 411.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1493, allocations: 7.938 kB / 411.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1493, allocations: 0 / 411.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.1493, allocations: 0 / 411.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/0.15, allocations: 0.5545 MB / 412.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.544e-05/0.1501, allocations: 28 kB / 412.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.1503, allocations: 43.95 kB / 412.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001563/0.1505, allocations: 65.61 kB / 412.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.1506, allocations: 11.94 kB / 412.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.1525, allocations: 2.848 MB / 415.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1526, allocations: 0 / 415.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.1538, allocations: 0.6074 MB / 415.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.1541, allocations: 179.7 kB / 416 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.1542, allocations: 8 kB / 416 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.1544, allocations: 19.97 kB / 416 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.1545, allocations: 23.97 kB / 416 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.1546, allocations: 12 kB / 416 MB, free: 4.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008574/0.1555, allocations: 0.5467 MB / 416.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1555, allocations: 0 / 416.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008021/0.1563, allocations: 239.8 kB / 416.8 MB, free: 3.863 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.000645/0.1569, allocations: 352.2 kB / 417.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.1581, allocations: 0.5969 MB / 417.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1581, allocations: 0 / 417.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.1587, allocations: 434.9 kB / 418.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.1592, allocations: 96.7 kB / 418.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.1618, allocations: 1.508 MB / 419.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.1625, allocations: 0.9561 MB / 420.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.1627, allocations: 85.2 kB / 420.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.1628, allocations: 43.44 kB / 420.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1628, allocations: 0 / 420.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01591/0.1788, allocations: 8.389 MB / 429.3 MB, free: 7.277 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)