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.001064/0.001065, allocations: 108.6 kB / 16.51 MB, free: 6.691 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.001067/0.001067, allocations: 193.9 kB / 17.42 MB, free: 6.086 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 / 223.3 MB, free: 12.41 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.001146/0.001146, allocations: 47.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08947, allocations: 46.62 MB / 325.9 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005104/0.09461, allocations: 5.022 MB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.1049, allocations: 10.66 MB / 341.6 MB, free: 5.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004477/0.1054, allocations: 4 kB / 341.6 MB, free: 5.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.1069, allocations: 0.625 MB / 342.3 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.1087, allocations: 0.7974 MB / 343.1 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.1097, allocations: 435.8 kB / 343.5 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.1114, allocations: 1.299 MB / 344.8 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.1117, allocations: 161.8 kB / 344.9 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.1121, allocations: 262.5 kB / 345.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.1124, allocations: 302 kB / 345.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.1125, allocations: 24 kB / 345.5 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.1138, allocations: 0.6713 MB / 346.2 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.114, allocations: 95.31 kB / 346.3 MB, free: 468 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.1143, allocations: 397.4 kB / 346.7 MB, free: 68 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.1155, allocations: 1.234 MB / 347.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1155, allocations: 0 / 347.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1156, allocations: 0 / 347.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1156, allocations: 4 kB / 347.9 MB, free: 14.82 MB / 302.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.001815/0.1174, allocations: 1.319 MB / 349.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1174, allocations: 8.031 kB / 349.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1176, allocations: 123.5 kB / 349.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/0.1185, allocations: 0.7427 MB / 350.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.1185, allocations: 24.55 kB / 350.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.1186, allocations: 27.94 kB / 350.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.1192, allocations: 317.3 kB / 350.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1192, allocations: 4 kB / 350.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.1192, allocations: 12 kB / 350.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1193, allocations: 4 kB / 350.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.1199, allocations: 278.2 kB / 350.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.1219, allocations: 1.361 MB / 352.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006939/0.1226, allocations: 298.5 kB / 352.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.123, allocations: 248.7 kB / 352.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004352/0.1274, allocations: 3.608 MB / 356.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.1278, allocations: 191.2 kB / 356.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/0.1279, allocations: 0 / 356.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001629/0.1295, allocations: 0.7264 MB / 357.2 MB, free: 4.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.1296, allocations: 55.41 kB / 357.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/0.1305, allocations: 0.8231 MB / 358 MB, free: 3.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1305, allocations: 29.7 kB / 358.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.1309, allocations: 448.5 kB / 358.5 MB, free: 3.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.548e-05/0.1309, allocations: 98.64 kB / 358.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1311, allocations: 73.92 kB / 358.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1312, allocations: 322 kB / 359 MB, free: 2.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.1315, allocations: 116.6 kB / 359.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.1318, allocations: 220.1 kB / 359.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.1324, allocations: 368.9 kB / 359.7 MB, free: 2.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1324, allocations: 0 / 359.7 MB, free: 2.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009506/0.1334, allocations: 0.5171 MB / 360.2 MB, free: 1.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1334, allocations: 8 kB / 360.2 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.121e-05/0.1335, allocations: 32 kB / 360.2 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.1337, allocations: 53.69 kB / 360.3 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.1341, allocations: 76.3 kB / 360.4 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.136, allocations: 2.65 MB / 363 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.1363, allocations: 43.67 kB / 363.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.1364, allocations: 16 kB / 363.1 MB, free: 14.39 MB / 318.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.0002902/0.1367, allocations: 209.8 kB / 363.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.1368, allocations: 106.7 kB / 363.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.1379, allocations: 493.1 kB / 363.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1379, allocations: 4 kB / 363.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1379, allocations: 3.938 kB / 363.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1379, allocations: 0 / 363.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.1385, allocations: 0.5662 MB / 364.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.159e-05/0.1386, allocations: 28 kB / 364.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.1388, allocations: 43.95 kB / 364.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.139, allocations: 49.69 kB / 364.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.139, allocations: 4 kB / 364.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.1408, allocations: 2.658 MB / 367.2 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1408, allocations: 3.984 kB / 367.2 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.142, allocations: 0.6041 MB / 367.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.1422, allocations: 188 kB / 368 MB, free: 9.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/0.1422, allocations: 4 kB / 368 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1425, allocations: 19.97 kB / 368 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.1426, allocations: 23.97 kB / 368.1 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.1426, allocations: 23.98 kB / 368.1 MB, free: 9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005828/0.1432, allocations: 0.5428 MB / 368.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1432, allocations: 0 / 368.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000604/0.1438, allocations: 243.7 kB / 368.9 MB, free: 8.211 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 (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.0005646/0.1444, allocations: 356.1 kB / 369.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.1455, allocations: 0.5926 MB / 369.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1455, allocations: 0 / 369.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.1461, allocations: 439.8 kB / 370.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.1466, allocations: 84.41 kB / 370.3 MB, free: 6.676 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.1491, allocations: 1.764 MB / 372.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.1497, allocations: 0.96 MB / 373 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.15, allocations: 81.22 kB / 373.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.1501, allocations: 47.42 kB / 373.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1501, allocations: 0 / 373.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of Templates: time 0.1527/0.3028, allocations: 7.98 MB / 381.1 MB, free: 53.71 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (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)