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.0007715/0.0007715, allocations: 94.25 kB / 16.65 MB, free: 6.59 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.0009417/0.0009417, allocations: 182.2 kB / 17.56 MB, free: 6.203 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.349/1.349, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004505/0.0004505, allocations: 8 kB / 280.7 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09179, allocations: 47.59 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004259/0.09609, allocations: 4.616 MB / 332.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1079, allocations: 10.52 MB / 343.5 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007297/0.1086, allocations: 7.938 kB / 343.5 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.1104, allocations: 0.6212 MB / 344.1 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.1127, allocations: 0.8013 MB / 344.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.114, allocations: 427.8 kB / 345.3 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.1161, allocations: 1.303 MB / 346.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.1164, allocations: 153.8 kB / 346.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.1167, allocations: 246.6 kB / 347 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.117, allocations: 302 kB / 347.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.1171, allocations: 20 kB / 347.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.1185, allocations: 0.6635 MB / 348 MB, free: 12 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1186, allocations: 87.33 kB / 348.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.1189, allocations: 419.1 kB / 348.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.1201, allocations: 1.214 MB / 349.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1202, allocations: 0 / 349.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.1202, allocations: 0 / 349.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1202, allocations: 7.938 kB / 349.7 MB, free: 14.28 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.001694/0.1219, allocations: 1.187 MB / 350.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1219, allocations: 15.97 kB / 350.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.1221, allocations: 115.5 kB / 351 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/0.123, allocations: 0.7582 MB / 351.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.1231, allocations: 24.56 kB / 351.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.1231, allocations: 24 kB / 351.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.1238, allocations: 325.3 kB / 352.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1238, allocations: 0 / 352.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.1238, allocations: 12 kB / 352.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.1239, allocations: 19.98 kB / 352.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.1245, allocations: 294.2 kB / 352.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.1264, allocations: 1.365 MB / 353.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.1271, allocations: 318.5 kB / 354.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.1275, allocations: 252.8 kB / 354.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004129/0.1317, allocations: 3.612 MB / 358 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000446/0.1321, allocations: 195.3 kB / 358.2 MB, free: 5.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.884e-06/0.1321, allocations: 4 kB / 358.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001659/0.1338, allocations: 0.7693 MB / 358.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.1339, allocations: 59.41 kB / 359 MB, free: 4.129 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008835/0.1348, allocations: 0.8192 MB / 359.8 MB, free: 3.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1348, allocations: 25.7 kB / 359.8 MB, free: 3.262 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.1351, allocations: 444.5 kB / 360.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.1352, allocations: 106.5 kB / 360.4 MB, free: 2.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1353, allocations: 37.69 kB / 360.4 MB, free: 2.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1354, allocations: 321.9 kB / 360.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.1357, allocations: 124.7 kB / 360.9 MB, free: 2.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.1361, allocations: 240 kB / 361.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.1368, allocations: 376.9 kB / 361.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1368, allocations: 11.94 kB / 361.5 MB, free: 1.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009483/0.1377, allocations: 0.5366 MB / 362 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1378, allocations: 8.406 kB / 362 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.612e-05/0.1378, allocations: 36 kB / 362.1 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.1381, allocations: 57.69 kB / 362.1 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.1384, allocations: 71.89 kB / 362.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.1403, allocations: 2.654 MB / 364.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.1406, allocations: 43.67 kB / 364.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.1407, allocations: 20 kB / 364.9 MB, free: 13.81 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.0002636/0.141, allocations: 209.7 kB / 365.1 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.1411, allocations: 102.8 kB / 365.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.1422, allocations: 0.5089 MB / 365.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1422, allocations: 7.938 kB / 365.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1422, allocations: 3.938 kB / 365.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1422, allocations: 0 / 365.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.1428, allocations: 0.5545 MB / 366.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/0.1428, allocations: 32 kB / 366.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1431, allocations: 51.95 kB / 366.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.1433, allocations: 53.69 kB / 366.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.1433, allocations: 8 kB / 366.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.145, allocations: 2.646 MB / 369.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.145, allocations: 7.938 kB / 369.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.1462, allocations: 0.6308 MB / 369.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.1464, allocations: 187.7 kB / 369.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.1465, allocations: 12.06 kB / 369.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1468, allocations: 15.98 kB / 369.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.1469, allocations: 23.97 kB / 369.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.1469, allocations: 15.98 kB / 370 MB, free: 8.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005982/0.1475, allocations: 0.5467 MB / 370.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1475, allocations: 0 / 370.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005921/0.1481, allocations: 231.8 kB / 370.7 MB, free: 7.586 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.0005661/0.1487, allocations: 361 kB / 371.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.1497, allocations: 0.613 MB / 371.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1498, allocations: 4.062 kB / 371.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005815/0.1503, allocations: 446.9 kB / 372.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1508, allocations: 96.33 kB / 372.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.1534, allocations: 1.839 MB / 374.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.1539, allocations: 0.9561 MB / 375 MB, free: 3.152 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.1542, allocations: 81.22 kB / 375.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.1543, allocations: 43.44 kB / 375.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1543, allocations: 0 / 375.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of Templates: time 0.1718/0.3261, allocations: 7.943 MB / 383.1 MB, free: 52.45 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)