Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 146.9 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9691/0.9691, allocations: 173.4 MB / 201.5 MB, free: 8.773 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.297e-05, allocations: 2.312 kB / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004092/0.004115, allocations: 4.835 MB / 273.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008418/0.01253, allocations: 10.15 MB / 283.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003492/0.01288, allocations: 47.5 kB / 283.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009999/0.01388, allocations: 0.6342 MB / 284.2 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.01527, allocations: 1.034 MB / 285.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007348/0.01601, allocations: 0.521 MB / 285.7 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.01725, allocations: 1.452 MB / 287.2 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.01743, allocations: 114.4 kB / 287.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004584/0.01789, allocations: 0.5574 MB / 287.8 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.01814, allocations: 247.1 kB / 288.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.01818, allocations: 32 kB / 288.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.01913, allocations: 0.7599 MB / 288.9 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.01921, allocations: 111.3 kB / 289 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.01937, allocations: 227.2 kB / 289.2 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.02055, allocations: 1.074 MB / 290.3 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.02056, allocations: 3.938 kB / 290.3 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02056, allocations: 0 / 290.3 MB, free: 104 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.02057, allocations: 4 kB / 290.3 MB, free: 100 kB / 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.1151/0.1357, allocations: 1.245 MB / 291.5 MB, free: 22.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1357, allocations: 9.453 kB / 291.5 MB, free: 22.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1358, allocations: 95.55 kB / 291.6 MB, free: 22.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.1364, allocations: 0.6051 MB / 292.2 MB, free: 22.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1364, allocations: 18.78 kB / 292.3 MB, free: 22.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.1365, allocations: 28.02 kB / 292.3 MB, free: 22.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.1367, allocations: 226 kB / 292.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1368, allocations: 6.859 kB / 292.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1368, allocations: 10.16 kB / 292.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1368, allocations: 12.25 kB / 292.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1369, allocations: 88.89 kB / 292.6 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.1379, allocations: 0.8506 MB / 293.5 MB, free: 21.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1381, allocations: 178.5 kB / 293.7 MB, free: 21.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1382, allocations: 121 kB / 293.8 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/0.1403, allocations: 1.518 MB / 295.3 MB, free: 21.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1404, allocations: 128.4 kB / 295.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.1404, allocations: 1.094 kB / 295.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005646/0.141, allocations: 316.8 kB / 295.7 MB, free: 21.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.141, allocations: 55.56 kB / 295.8 MB, free: 21.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.1415, allocations: 0.7363 MB / 296.5 MB, free: 21.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1415, allocations: 30.64 kB / 296.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1417, allocations: 294 kB / 296.8 MB, free: 21.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.1417, allocations: 99.66 kB / 296.9 MB, free: 20.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.1418, allocations: 72.2 kB / 297 MB, free: 20.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.189e-05/0.1418, allocations: 321.4 kB / 297.3 MB, free: 20.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.1419, allocations: 36.03 kB / 297.3 MB, free: 20.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/0.1419, allocations: 146.5 kB / 297.5 MB, free: 20.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1421, allocations: 228.1 kB / 297.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1421, allocations: 1.156 kB / 297.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000348/0.1425, allocations: 305.1 kB / 298 MB, free: 20.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1425, allocations: 7.344 kB / 298 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.1425, allocations: 9.844 kB / 298 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.1427, allocations: 48.67 kB / 298.1 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.1428, allocations: 82.98 kB / 298.2 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007706/0.1436, allocations: 2.371 MB / 300.5 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1437, allocations: 38.47 kB / 300.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.1438, allocations: 13.16 kB / 300.6 MB, free: 18.01 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 0.0001047/0.1439, allocations: 131 kB / 300.7 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/0.144, allocations: 84.09 kB / 300.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.1444, allocations: 301.6 kB / 301.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1444, allocations: 7.359 kB / 301.1 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1444, allocations: 1.906 kB / 301.1 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1444, allocations: 5.266 kB / 301.1 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.1447, allocations: 309.4 kB / 301.4 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/0.1447, allocations: 8.906 kB / 301.4 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1448, allocations: 44.5 kB / 301.5 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.16e-05/0.1449, allocations: 43.02 kB / 301.5 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1449, allocations: 6.969 kB / 301.5 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006548/0.1456, allocations: 2.375 MB / 303.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1456, allocations: 3.719 kB / 303.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.146, allocations: 325.1 kB / 304.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.1461, allocations: 97.02 kB / 304.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.1461, allocations: 5.781 kB / 304.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1462, allocations: 11.2 kB / 304.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.1463, allocations: 27.14 kB / 304.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1463, allocations: 5.781 kB / 304.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002838/0.1466, allocations: 373.8 kB / 304.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1466, allocations: 0 / 304.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004127/0.147, allocations: 248.8 kB / 304.9 MB, free: 15.18 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.0004188/0.1474, allocations: 393.6 kB / 305.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.1478, allocations: 423.3 kB / 305.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.1478, allocations: 11.22 kB / 305.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.148, allocations: 338.2 kB / 306.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1483, allocations: 114.9 kB / 306.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1496, allocations: 1.339 MB / 307.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.051e-05/0.1497, allocations: 152.4 kB / 307.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.1498, allocations: 83.3 kB / 307.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.15, allocations: 157.9 kB / 307.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.15, allocations: 0 / 307.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of Templates: time 0.01137/0.1614, allocations: 9.682 MB / 317.6 MB, free: 7.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.831708532758057]