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.004788/0.004788, allocations: 100.5 kB / 15.73 MB, free: 5.988 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.001036/0.001036, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.386/1.386, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001927/0.001927, allocations: 49.83 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006958/0.1173, allocations: 4.995 MB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.1313, allocations: 10.45 MB / 388.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.1324, allocations: 27.75 kB / 388.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.1347, allocations: 0.6865 MB / 389.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.139, allocations: 0.9984 MB / 390.3 MB, free: 48 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.1415, allocations: 0.5921 MB / 390.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.1447, allocations: 1.346 MB / 392.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003962/0.1452, allocations: 177.2 kB / 392.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005449/0.1457, allocations: 274.6 kB / 392.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.1463, allocations: 318 kB / 393 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.1464, allocations: 32 kB / 393 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.1484, allocations: 0.6791 MB / 393.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1486, allocations: 107.3 kB / 393.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.149, allocations: 401.4 kB / 394.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.1515, allocations: 1.265 MB / 395.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.1515, allocations: 8 kB / 395.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1515, allocations: 3.938 kB / 395.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.197e-05/0.1516, allocations: 0 / 395.5 MB, free: 10.84 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.002348/0.1539, allocations: 1.311 MB / 396.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.154, allocations: 8.031 kB / 396.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.1542, allocations: 119.5 kB / 396.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.1554, allocations: 0.7427 MB / 397.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1554, allocations: 20.56 kB / 397.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.1555, allocations: 27.98 kB / 397.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.1561, allocations: 317.4 kB / 398 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1561, allocations: 0 / 398 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.1562, allocations: 15.98 kB / 398.1 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.1562, allocations: 8 kB / 398.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006171/0.1568, allocations: 278.2 kB / 398.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.1587, allocations: 1.372 MB / 399.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.1594, allocations: 294.6 kB / 400 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.1598, allocations: 256.4 kB / 400.2 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004115/0.1639, allocations: 3.592 MB / 403.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.1643, allocations: 195.2 kB / 404 MB, free: 1.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.805e-06/0.1644, allocations: 4 kB / 404 MB, free: 1.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001627/0.166, allocations: 0.7265 MB / 404.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.166, allocations: 55.39 kB / 404.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/0.167, allocations: 0.8153 MB / 405.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.167, allocations: 37.69 kB / 405.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.1674, allocations: 448.4 kB / 406.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.1675, allocations: 94.64 kB / 406.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1676, allocations: 73.94 kB / 406.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1677, allocations: 322 kB / 406.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.168, allocations: 120.7 kB / 406.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.1684, allocations: 220.1 kB / 406.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.169, allocations: 360.9 kB / 407.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.169, allocations: 0 / 407.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009829/0.17, allocations: 0.5246 MB / 407.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.17, allocations: 8 kB / 407.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.187e-05/0.1701, allocations: 32 kB / 407.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.1704, allocations: 58.12 kB / 407.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.1707, allocations: 71.83 kB / 408 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.1729, allocations: 2.848 MB / 410.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.1732, allocations: 43.58 kB / 410.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.1733, allocations: 20 kB / 410.9 MB, free: 10.2 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.0002859/0.1736, allocations: 209.7 kB / 411.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.1737, allocations: 106.8 kB / 411.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.1747, allocations: 0.494 MB / 411.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1747, allocations: 0 / 411.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1748, allocations: 7.938 kB / 411.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1748, allocations: 0 / 411.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.1754, allocations: 0.5545 MB / 412.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.216e-05/0.1754, allocations: 28 kB / 412.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.1757, allocations: 43.97 kB / 412.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.1758, allocations: 57.61 kB / 412.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.1759, allocations: 8 kB / 412.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.1779, allocations: 2.844 MB / 415.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.178, allocations: 4.031 kB / 415.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1791, allocations: 0.5996 MB / 415.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.1793, allocations: 187.7 kB / 416 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.1794, allocations: 4.188 kB / 416 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1796, allocations: 15.92 kB / 416 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.1797, allocations: 35.88 kB / 416 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1798, allocations: 16 kB / 416.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006744/0.1805, allocations: 0.5507 MB / 416.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1805, allocations: 0 / 416.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000682/0.1812, allocations: 235.7 kB / 416.8 MB, free: 3.801 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.000703/0.1819, allocations: 356.1 kB / 417.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.183, allocations: 0.5847 MB / 417.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.183, allocations: 3.938 kB / 417.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005915/0.1836, allocations: 443.7 kB / 418.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.184, allocations: 92.41 kB / 418.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.1867, allocations: 1.508 MB / 419.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.1873, allocations: 0.9561 MB / 420.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.1875, allocations: 89.12 kB / 420.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.1876, allocations: 43.44 kB / 420.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1876, allocations: 0 / 420.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01741/0.2051, allocations: 8.377 MB / 429.3 MB, free: 7.223 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)