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.001149/0.001149, allocations: 115 kB / 16.63 MB, free: 6.812 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.001148/0.001148, allocations: 186 kB / 17.55 MB, free: 5.934 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.318/1.318, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001214/0.001214, allocations: 44.16 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09165, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005313/0.09702, allocations: 5.014 MB / 331.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1075, allocations: 10.32 MB / 341.5 MB, free: 5.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009014/0.1085, allocations: 4 kB / 341.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.1105, allocations: 0.6328 MB / 342.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.1137, allocations: 0.8364 MB / 342.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.1151, allocations: 0.5186 MB / 343.5 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.117, allocations: 1.346 MB / 344.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.1173, allocations: 181.1 kB / 345 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.1177, allocations: 270.5 kB / 345.2 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.118, allocations: 314 kB / 345.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.71e-05/0.118, allocations: 32 kB / 345.6 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.1194, allocations: 0.6791 MB / 346.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.1196, allocations: 107.3 kB / 346.4 MB, free: 464 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.1199, allocations: 405.4 kB / 346.8 MB, free: 56 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.1215, allocations: 1.254 MB / 348 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1215, allocations: 0 / 348 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1216, allocations: 0 / 348 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.1216, allocations: 4 kB / 348 MB, free: 14.79 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.002144/0.1237, allocations: 1.323 MB / 349.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1238, allocations: 8.031 kB / 349.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.124, allocations: 115.6 kB / 349.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009167/0.1249, allocations: 0.7427 MB / 350.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.1249, allocations: 20.56 kB / 350.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/0.125, allocations: 27.94 kB / 350.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.1256, allocations: 321.3 kB / 350.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1257, allocations: 0 / 350.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.1257, allocations: 12 kB / 350.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1257, allocations: 7.984 kB / 350.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.1263, allocations: 278.2 kB / 350.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.1281, allocations: 1.365 MB / 352.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.1288, allocations: 302.5 kB / 352.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.1292, allocations: 248.6 kB / 352.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004604/0.1339, allocations: 3.615 MB / 356.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.1343, allocations: 191.2 kB / 356.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.234e-06/0.1343, allocations: 0 / 356.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001559/0.1359, allocations: 0.7272 MB / 357.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.136, allocations: 55.39 kB / 357.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000849/0.1368, allocations: 0.8153 MB / 358.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.1368, allocations: 29.7 kB / 358.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.1372, allocations: 456.4 kB / 358.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.1373, allocations: 90.66 kB / 358.7 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1374, allocations: 77.94 kB / 358.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1375, allocations: 326 kB / 359.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.1378, allocations: 124.5 kB / 359.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.1381, allocations: 220.1 kB / 359.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.1388, allocations: 360.9 kB / 359.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1388, allocations: 0 / 359.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009409/0.1397, allocations: 0.5174 MB / 360.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1398, allocations: 12.03 kB / 360.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.762e-05/0.1398, allocations: 32 kB / 360.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.1401, allocations: 53.69 kB / 360.4 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.1404, allocations: 71.89 kB / 360.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.1425, allocations: 2.848 MB / 363.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.1428, allocations: 39.67 kB / 363.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.1429, allocations: 24.06 kB / 363.4 MB, free: 14.13 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.0002786/0.1432, allocations: 201.7 kB / 363.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1433, allocations: 106.7 kB / 363.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.1443, allocations: 0.4972 MB / 364.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.1444, allocations: 3.984 kB / 364.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1444, allocations: 4 kB / 364.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1444, allocations: 4 kB / 364.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.1449, allocations: 0.5544 MB / 364.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.244e-05/0.145, allocations: 35.98 kB / 364.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.1452, allocations: 35.97 kB / 364.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/0.1454, allocations: 53.61 kB / 364.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.1454, allocations: 8 kB / 364.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.1472, allocations: 2.844 MB / 367.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1472, allocations: 4.031 kB / 367.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1483, allocations: 0.6072 MB / 368.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.1485, allocations: 183.9 kB / 368.5 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.1486, allocations: 8 kB / 368.5 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.1488, allocations: 15.98 kB / 368.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.1489, allocations: 23.97 kB / 368.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.149, allocations: 19.92 kB / 368.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006514/0.1496, allocations: 0.5428 MB / 369.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1496, allocations: 4 kB / 369.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007136/0.1504, allocations: 239.7 kB / 369.4 MB, free: 7.742 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.0005784/0.1509, allocations: 352.2 kB / 369.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.152, allocations: 0.5973 MB / 370.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.152, allocations: 0 / 370.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.1525, allocations: 446.9 kB / 370.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.153, allocations: 96.38 kB / 370.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.1555, allocations: 1.762 MB / 372.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.156, allocations: 0.9561 MB / 373.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.1563, allocations: 89.2 kB / 373.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.1564, allocations: 39.44 kB / 373.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of SimCode: time 1.724e-06/0.1564, allocations: 0 / 373.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of Templates: time 0.1673/0.3237, allocations: 8.246 MB / 381.9 MB, free: 53.44 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)