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.006526/0.006526, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001054/0.001054, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001221/0.001221, allocations: 50.39 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1008, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005832/0.1067, allocations: 5.007 MB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.1184, allocations: 10.45 MB / 388.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.1197, allocations: 23.81 kB / 388.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.1217, allocations: 0.6903 MB / 389.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.1249, allocations: 0.9945 MB / 390.3 MB, free: 64 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.1267, allocations: 0.596 MB / 390.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.129, allocations: 1.35 MB / 392.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.1293, allocations: 173.2 kB / 392.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.1297, allocations: 274.6 kB / 392.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.13, allocations: 314 kB / 393 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.1301, allocations: 32 kB / 393.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.1314, allocations: 0.6753 MB / 393.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1315, allocations: 115.2 kB / 393.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.1319, allocations: 401.5 kB / 394.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.1334, allocations: 1.269 MB / 395.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1334, allocations: 0 / 395.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1334, allocations: 0 / 395.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.1334, allocations: 4 kB / 395.5 MB, free: 10.86 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.001879/0.1353, allocations: 1.311 MB / 396.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1354, allocations: 8.031 kB / 396.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.1355, allocations: 119.5 kB / 396.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1365, allocations: 0.7427 MB / 397.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.1366, allocations: 24.56 kB / 397.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.1366, allocations: 31.98 kB / 397.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.1373, allocations: 321.3 kB / 398.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1373, allocations: 0 / 398.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.1374, allocations: 8 kB / 398.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1374, allocations: 8 kB / 398.1 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.138, allocations: 278.2 kB / 398.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.1399, allocations: 1.368 MB / 399.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.1405, allocations: 286.6 kB / 400 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.141, allocations: 256.5 kB / 400.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003979/0.145, allocations: 3.604 MB / 403.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.1454, allocations: 183.3 kB / 404 MB, free: 1.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.973e-06/0.1454, allocations: 0 / 404 MB, free: 1.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001553/0.147, allocations: 0.7304 MB / 404.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.147, allocations: 55.41 kB / 404.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008347/0.1479, allocations: 0.8192 MB / 405.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1479, allocations: 29.7 kB / 405.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.1484, allocations: 452.4 kB / 406.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/0.1485, allocations: 98.64 kB / 406.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1486, allocations: 73.92 kB / 406.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1487, allocations: 326 kB / 406.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.149, allocations: 112.7 kB / 406.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.1493, allocations: 224 kB / 406.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/0.1499, allocations: 360.9 kB / 407.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.15, allocations: 0 / 407.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008752/0.1508, allocations: 0.5246 MB / 407.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1509, allocations: 8.438 kB / 407.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.808e-05/0.1509, allocations: 36 kB / 407.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.1511, allocations: 53.69 kB / 407.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1514, allocations: 75.88 kB / 408 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.1533, allocations: 2.848 MB / 410.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.1536, allocations: 47.58 kB / 410.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.1536, allocations: 16 kB / 410.9 MB, free: 10.21 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.0002409/0.1539, allocations: 209.7 kB / 411.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.154, allocations: 106.7 kB / 411.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.155, allocations: 0.49 MB / 411.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.155, allocations: 3.938 kB / 411.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.155, allocations: 4 kB / 411.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.155, allocations: 0 / 411.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.1556, allocations: 0.5506 MB / 412.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/0.1556, allocations: 32 kB / 412.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.1559, allocations: 47.95 kB / 412.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.156, allocations: 45.69 kB / 412.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.1561, allocations: 8 kB / 412.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.158, allocations: 2.855 MB / 415.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.158, allocations: 32 / 415.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.1591, allocations: 0.6036 MB / 415.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.1593, allocations: 183.7 kB / 416 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.1594, allocations: 4 kB / 416 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.1597, allocations: 19.97 kB / 416 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.1598, allocations: 28.03 kB / 416 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.1598, allocations: 12 kB / 416.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006027/0.1604, allocations: 0.5467 MB / 416.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1604, allocations: 4 kB / 416.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000575/0.161, allocations: 231.7 kB / 416.8 MB, free: 3.832 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.0005677/0.1616, allocations: 352.1 kB / 417.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.1626, allocations: 0.5963 MB / 417.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1626, allocations: 4.812 kB / 417.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.1632, allocations: 442.9 kB / 418.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.1637, allocations: 100.4 kB / 418.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.166, allocations: 1.512 MB / 419.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.1666, allocations: 0.9522 MB / 420.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.1668, allocations: 81.2 kB / 420.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/0.1669, allocations: 43.44 kB / 420.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1669, allocations: 4 kB / 420.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01586/0.1828, allocations: 8.377 MB / 429.3 MB, free: 7.242 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)