Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.554e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003759/0.003775, allocations: 4.855 MB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007823/0.0116, allocations: 10.18 MB / 288.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.01186, allocations: 43.56 kB / 288.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009499/0.01281, allocations: 0.6424 MB / 289.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.01415, allocations: 1.045 MB / 290.2 MB, free: 444 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1094/0.1236, allocations: 0.5084 MB / 290.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.1253, allocations: 1.461 MB / 292.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.1255, allocations: 122.8 kB / 292.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006532/0.1262, allocations: 0.5728 MB / 292.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.1265, allocations: 242.9 kB / 293.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.1266, allocations: 31.38 kB / 293.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.1279, allocations: 0.7609 MB / 293.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.1279, allocations: 115 kB / 294 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.1281, allocations: 221.7 kB / 294.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.1293, allocations: 1.079 MB / 295.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1293, allocations: 3.234 kB / 295.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1293, allocations: 0 / 295.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.1293, allocations: 1.469 kB / 295.3 MB, free: 15.44 MB / 266.7 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.00122/0.1305, allocations: 1.254 MB / 296.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1305, allocations: 9.531 kB / 296.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1307, allocations: 94.83 kB / 296.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.1312, allocations: 0.61 MB / 297.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1313, allocations: 19.38 kB / 297.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.1313, allocations: 30.48 kB / 297.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.1316, allocations: 222.6 kB / 297.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1316, allocations: 3.938 kB / 297.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1316, allocations: 10.86 kB / 297.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1316, allocations: 10.89 kB / 297.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.1318, allocations: 87.14 kB / 297.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.1327, allocations: 0.8493 MB / 298.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.1329, allocations: 184 kB / 298.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.133, allocations: 118.2 kB / 298.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/0.135, allocations: 1.526 MB / 300.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.1351, allocations: 124.2 kB / 300.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.425e-06/0.1351, allocations: 0.9375 kB / 300.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005074/0.1356, allocations: 322.3 kB / 300.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.1357, allocations: 58.61 kB / 300.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.1361, allocations: 0.7374 MB / 301.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1361, allocations: 35.64 kB / 301.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1363, allocations: 283.8 kB / 301.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.1363, allocations: 106.1 kB / 302 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.1364, allocations: 67.88 kB / 302.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.027e-05/0.1364, allocations: 328.2 kB / 302.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.1365, allocations: 34.16 kB / 302.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.1365, allocations: 141.4 kB / 302.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1367, allocations: 232.1 kB / 302.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1367, allocations: 0 / 302.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003119/0.137, allocations: 307 kB / 303.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.137, allocations: 7.031 kB / 303.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/0.1371, allocations: 7.359 kB / 303.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.1372, allocations: 52.84 kB / 303.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1374, allocations: 80.92 kB / 303.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006833/0.138, allocations: 2.375 MB / 305.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.1382, allocations: 40.59 kB / 305.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.1382, allocations: 12.41 kB / 305.7 MB, free: 9.914 MB / 266.7 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 9.808e-05/0.1383, allocations: 130.2 kB / 305.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.1384, allocations: 78.56 kB / 305.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.1387, allocations: 302.4 kB / 306.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1387, allocations: 7.312 kB / 306.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1387, allocations: 10.33 kB / 306.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1387, allocations: 0 / 306.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.1389, allocations: 314.4 kB / 306.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.139, allocations: 10.08 kB / 306.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1391, allocations: 48.28 kB / 306.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-05/0.1392, allocations: 38 kB / 306.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1392, allocations: 13.73 kB / 306.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000575/0.1398, allocations: 2.367 MB / 309 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1398, allocations: 0 / 309 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.14, allocations: 321.9 kB / 309.3 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.1401, allocations: 93.92 kB / 309.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.1402, allocations: 5.156 kB / 309.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.1403, allocations: 13.86 kB / 309.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.1403, allocations: 23.58 kB / 309.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1403, allocations: 2.406 kB / 309.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.1405, allocations: 373.6 kB / 309.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1405, allocations: 0 / 309.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003773/0.1409, allocations: 254.8 kB / 310 MB, free: 7.082 MB / 266.7 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.0003742/0.1413, allocations: 396.7 kB / 310.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.1416, allocations: 433.1 kB / 310.8 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.1416, allocations: 10.03 kB / 310.8 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1418, allocations: 334.2 kB / 311.2 MB, free: 6.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.142, allocations: 113.6 kB / 311.3 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1432, allocations: 1.329 MB / 312.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.1433, allocations: 161.8 kB / 312.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.1434, allocations: 85.45 kB / 312.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.1436, allocations: 146.1 kB / 313 MB, free: 5.559 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1436, allocations: 3.188 kB / 313 MB, free: 5.559 MB / 266.7 MB Notification: Performance of Templates: time 0.01106/0.1546, allocations: 9.741 MB / 322.7 MB, free: 12.71 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.8106977427378297]