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.001182/0.001182, allocations: 98.23 kB / 16.3 MB, free: 5.57 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.001249/0.001249, allocations: 184.2 kB / 17.2 MB, free: 5.504 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.64/1.64, allocations: 205.4 MB / 223.3 MB, free: 13.16 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.0004693/0.0004693, allocations: 12 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 47.58 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004541/0.1137, allocations: 4.088 MB / 331.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.1246, allocations: 9.063 MB / 340.8 MB, free: 6.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009984/0.1257, allocations: 8 kB / 340.8 MB, free: 6.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.1277, allocations: 0.6028 MB / 341.5 MB, free: 6.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003636/0.1314, allocations: 0.845 MB / 342.3 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.1332, allocations: 411.3 kB / 342.7 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.1359, allocations: 1.252 MB / 344 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.1363, allocations: 151.8 kB / 344.1 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.1366, allocations: 234.8 kB / 344.3 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.137, allocations: 282.2 kB / 344.6 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.1371, allocations: 16 kB / 344.6 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.1388, allocations: 0.6674 MB / 345.3 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.1389, allocations: 83.45 kB / 345.4 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.1391, allocations: 197.1 kB / 345.6 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1401, allocations: 0.8689 MB / 346.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1402, allocations: 0 / 346.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1402, allocations: 0 / 346.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1402, allocations: 0 / 346.4 MB, free: 1.27 MB / 286.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.002041/0.1422, allocations: 1.206 MB / 347.6 MB, free: 12 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1423, allocations: 12.03 kB / 347.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.1425, allocations: 118.5 kB / 347.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.1436, allocations: 0.6962 MB / 348.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.1436, allocations: 20.56 kB / 348.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.1437, allocations: 28 kB / 348.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.1443, allocations: 329.3 kB / 348.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1443, allocations: 7.922 kB / 348.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.1444, allocations: 12 kB / 348.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1444, allocations: 8 kB / 348.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.145, allocations: 298.1 kB / 349.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.1471, allocations: 1.369 MB / 350.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.1478, allocations: 318.8 kB / 350.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004423/0.1522, allocations: 3.616 MB / 354.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.1527, allocations: 208.2 kB / 354.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.995e-06/0.1527, allocations: 0 / 354.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001686/0.1544, allocations: 0.845 MB / 355.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1545, allocations: 59.41 kB / 355.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008895/0.1554, allocations: 0.8036 MB / 356.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.1554, allocations: 33.7 kB / 356.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.1558, allocations: 448.5 kB / 356.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.012e-05/0.1559, allocations: 90.66 kB / 356.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.1559, allocations: 8 kB / 356.9 MB, free: 5.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.156, allocations: 322 kB / 357.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.1563, allocations: 128.7 kB / 357.4 MB, free: 5.449 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.1567, allocations: 232 kB / 357.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.157, allocations: 148 kB / 357.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.157, allocations: 4 kB / 357.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009471/0.158, allocations: 0.5405 MB / 358.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.158, allocations: 8 kB / 358.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.566e-05/0.1581, allocations: 35.98 kB / 358.3 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.1584, allocations: 53.69 kB / 358.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.1587, allocations: 80.14 kB / 358.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.1608, allocations: 2.658 MB / 361.1 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.1612, allocations: 59.45 kB / 361.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.1612, allocations: 20.06 kB / 361.2 MB, free: 1.285 MB / 302.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 ($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.0003087/0.1616, allocations: 205.7 kB / 361.4 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1617, allocations: 102.8 kB / 361.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.1628, allocations: 0.5206 MB / 362 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1628, allocations: 0 / 362 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1628, allocations: 4 kB / 362 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1629, allocations: 3.984 kB / 362 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.1635, allocations: 0.5545 MB / 362.6 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.466e-05/0.1636, allocations: 31.98 kB / 362.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.1638, allocations: 47.91 kB / 362.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.164, allocations: 49.62 kB / 362.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.164, allocations: 12 kB / 362.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.1661, allocations: 2.651 MB / 365.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1661, allocations: 0 / 365.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.1672, allocations: 0.6317 MB / 366 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.1675, allocations: 183.8 kB / 366.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.1676, allocations: 8 kB / 366.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.1678, allocations: 24.03 kB / 366.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.1679, allocations: 27.92 kB / 366.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.168, allocations: 12 kB / 366.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007032/0.1687, allocations: 0.5427 MB / 366.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1687, allocations: 0 / 366.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007923/0.1695, allocations: 247.6 kB / 367 MB, free: 11.05 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 (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.0005446/0.17, allocations: 344.5 kB / 367.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.1711, allocations: 0.5971 MB / 368 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1711, allocations: 0 / 368 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.1716, allocations: 458.9 kB / 368.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.172, allocations: 96.33 kB / 368.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.1745, allocations: 1.726 MB / 370.2 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.175, allocations: 0.9678 MB / 371.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.1753, allocations: 89.2 kB / 371.3 MB, free: 6.656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.1754, allocations: 39.44 kB / 371.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1754, allocations: 0 / 371.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of Templates: time 0.1914/0.3668, allocations: 7.628 MB / 378.9 MB, free: 53.18 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: