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.00727/0.00727, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001428/0.001428, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.359/1.359, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001224/0.001224, allocations: 54.89 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09971, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006545/0.1063, allocations: 4.995 MB / 378.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1191, allocations: 10.46 MB / 388.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000902/0.1201, allocations: 27.75 kB / 388.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.1219, allocations: 0.6748 MB / 389.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.1251, allocations: 0.9984 MB / 390.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.1271, allocations: 0.596 MB / 390.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.1296, allocations: 1.353 MB / 392.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.13, allocations: 181.2 kB / 392.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005118/0.1305, allocations: 274.6 kB / 392.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.131, allocations: 314 kB / 393 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1311, allocations: 32 kB / 393.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.1328, allocations: 0.6753 MB / 393.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1329, allocations: 115.2 kB / 393.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004218/0.1334, allocations: 401.4 kB / 394.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.1356, allocations: 1.265 MB / 395.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1356, allocations: 4 kB / 395.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1356, allocations: 0 / 395.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.211e-05/0.1356, allocations: 0 / 395.5 MB, free: 10.88 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.00232/0.138, allocations: 1.311 MB / 396.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.138, allocations: 16.03 kB / 396.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.1382, allocations: 115.5 kB / 396.9 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1393, allocations: 0.7466 MB / 397.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.1394, allocations: 20.56 kB / 397.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.1394, allocations: 24 kB / 397.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.1401, allocations: 317.3 kB / 398 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1401, allocations: 0 / 398 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.1402, allocations: 16 kB / 398.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1402, allocations: 4 kB / 398.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.1409, allocations: 282.1 kB / 398.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.1428, allocations: 1.365 MB / 399.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.1435, allocations: 290.6 kB / 400 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.1439, allocations: 252.5 kB / 400.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00435/0.1483, allocations: 3.604 MB / 403.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.1488, allocations: 195.2 kB / 404 MB, free: 1.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.884e-06/0.1488, allocations: 0 / 404 MB, free: 1.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001691/0.1505, allocations: 0.7265 MB / 404.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1506, allocations: 51.41 kB / 404.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009448/0.1515, allocations: 0.8154 MB / 405.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.1516, allocations: 37.7 kB / 405.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.1519, allocations: 448.4 kB / 406.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.152, allocations: 98.64 kB / 406.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1521, allocations: 73.92 kB / 406.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1522, allocations: 322 kB / 406.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.1525, allocations: 112.7 kB / 406.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.1529, allocations: 224 kB / 406.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.1536, allocations: 360.9 kB / 407.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1536, allocations: 4 kB / 407.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009614/0.1545, allocations: 0.5209 MB / 407.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1546, allocations: 11.94 kB / 407.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.324e-05/0.1546, allocations: 36 kB / 407.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/0.1549, allocations: 53.67 kB / 407.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.1552, allocations: 80.22 kB / 408 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.1573, allocations: 2.84 MB / 410.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.1577, allocations: 51.64 kB / 410.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.1577, allocations: 16 kB / 410.9 MB, free: 10.23 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.0002659/0.158, allocations: 205.6 kB / 411.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1581, allocations: 106.8 kB / 411.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.1592, allocations: 0.49 MB / 411.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1592, allocations: 3.938 kB / 411.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1592, allocations: 4 kB / 411.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1592, allocations: 4 kB / 411.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.1598, allocations: 0.5544 MB / 412.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.352e-05/0.1598, allocations: 32 kB / 412.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.1601, allocations: 51.89 kB / 412.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/0.1603, allocations: 49.67 kB / 412.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.1603, allocations: 8 kB / 412.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.1623, allocations: 2.848 MB / 415.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1623, allocations: 0 / 415.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.1635, allocations: 0.5997 MB / 415.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.1637, allocations: 183.7 kB / 416 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.1638, allocations: 8.062 kB / 416 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.164, allocations: 19.97 kB / 416 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.1641, allocations: 27.97 kB / 416 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.1642, allocations: 8 kB / 416.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006531/0.1648, allocations: 0.5544 MB / 416.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1648, allocations: 0 / 416.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007062/0.1656, allocations: 231.7 kB / 416.8 MB, free: 3.844 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.0006604/0.1662, allocations: 368.1 kB / 417.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.1674, allocations: 0.5855 MB / 417.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1674, allocations: 3.938 kB / 417.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.168, allocations: 438.9 kB / 418.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.1686, allocations: 92.45 kB / 418.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.1709, allocations: 1.508 MB / 419.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.1715, allocations: 0.9523 MB / 420.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002377/0.1717, allocations: 89.14 kB / 420.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.1718, allocations: 43.44 kB / 420.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1718, allocations: 3.938 kB / 420.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01648/0.1883, allocations: 8.389 MB / 429.3 MB, free: 7.246 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)