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.007701/0.007701, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.002372/0.002372, allocations: 194.5 kB / 16.68 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.409/1.409, 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.001184/0.001184, allocations: 45.66 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.09982, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006019/0.1059, allocations: 5.015 MB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.118, allocations: 10.44 MB / 388.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009349/0.119, allocations: 27.81 kB / 388.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002/0.121, allocations: 0.6825 MB / 389.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.1255, allocations: 0.9867 MB / 390.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.1272, allocations: 0.5921 MB / 390.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.1296, allocations: 1.357 MB / 392.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003005/0.13, allocations: 173.2 kB / 392.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.1303, allocations: 270.6 kB / 392.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.1307, allocations: 314 kB / 393 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.1308, allocations: 32 kB / 393 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.1324, allocations: 0.6714 MB / 393.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1325, allocations: 111.2 kB / 393.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.1329, allocations: 405.4 kB / 394.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.1346, allocations: 1.276 MB / 395.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1346, allocations: 0 / 395.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1346, allocations: 0 / 395.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1346, allocations: 4 kB / 395.5 MB, free: 10.87 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.002122/0.1367, allocations: 1.353 MB / 396.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1368, allocations: 8.031 kB / 396.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.137, allocations: 124.2 kB / 397 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.1381, allocations: 0.7593 MB / 397.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1381, allocations: 20.56 kB / 397.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.1382, allocations: 24 kB / 397.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.1388, allocations: 321.3 kB / 398.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1388, allocations: 0 / 398.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.1389, allocations: 8 kB / 398.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1389, allocations: 8 kB / 398.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.1395, allocations: 278.2 kB / 398.4 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.1414, allocations: 1.377 MB / 399.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.1421, allocations: 286.6 kB / 400 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.1426, allocations: 256.5 kB / 400.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004446/0.1471, allocations: 3.604 MB / 403.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.1476, allocations: 183.3 kB / 404.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.1476, allocations: 0 / 404.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001749/0.1493, allocations: 0.7349 MB / 404.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1494, allocations: 55.41 kB / 404.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/0.1504, allocations: 0.8192 MB / 405.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.1504, allocations: 29.7 kB / 405.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.1509, allocations: 456.8 kB / 406.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.151, allocations: 107.1 kB / 406.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.1511, allocations: 73.98 kB / 406.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1513, allocations: 322 kB / 406.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.1516, allocations: 116.7 kB / 406.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.152, allocations: 220 kB / 407 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/0.1526, allocations: 360.9 kB / 407.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1527, allocations: 4 kB / 407.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009418/0.1536, allocations: 0.5295 MB / 407.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1536, allocations: 12.03 kB / 407.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.065e-05/0.1537, allocations: 32 kB / 407.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.1539, allocations: 53.69 kB / 408 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.1542, allocations: 79.83 kB / 408 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.1564, allocations: 2.84 MB / 410.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.1567, allocations: 47.72 kB / 410.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.1567, allocations: 16 kB / 410.9 MB, free: 10.15 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.0002547/0.157, allocations: 205.8 kB / 411.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.1571, allocations: 115.2 kB / 411.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.1582, allocations: 0.4979 MB / 411.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1582, allocations: 0 / 411.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1582, allocations: 4 kB / 411.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1582, allocations: 7.984 kB / 411.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.1588, allocations: 0.5467 MB / 412.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.242e-05/0.1588, allocations: 32 kB / 412.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.1591, allocations: 43.95 kB / 412.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.1592, allocations: 45.69 kB / 412.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.1592, allocations: 8 kB / 412.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.161, allocations: 2.848 MB / 415.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.161, allocations: 0 / 415.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.1622, allocations: 0.6119 MB / 415.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.1624, allocations: 188.3 kB / 416.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.1625, allocations: 7.984 kB / 416.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.1627, allocations: 15.98 kB / 416.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.1628, allocations: 28.17 kB / 416.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.1628, allocations: 15.98 kB / 416.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006135/0.1634, allocations: 0.5467 MB / 416.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1634, allocations: 0 / 416.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006324/0.1641, allocations: 243.4 kB / 416.9 MB, free: 3.742 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.000631/0.1647, allocations: 371.7 kB / 417.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.1658, allocations: 0.5854 MB / 417.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1658, allocations: 0 / 417.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.1664, allocations: 443 kB / 418.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1668, allocations: 96.33 kB / 418.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.1692, allocations: 1.537 MB / 419.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.1698, allocations: 0.9522 MB / 420.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.1701, allocations: 85.19 kB / 421 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.272e-05/0.1701, allocations: 47.44 kB / 421 MB, free: 15.51 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1702, allocations: 0 / 421 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Templates: time 0.01539/0.1856, allocations: 8.381 MB / 429.4 MB, free: 7.117 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)