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.001289/0.001289, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.004407/0.004407, allocations: 145.9 kB / 24.89 MB, free: 9.234 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.9491/0.9491, allocations: 173.4 MB / 201.5 MB, free: 9.227 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.784e-06/1.784e-06, allocations: 0 / 268.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.148e-05, allocations: 6.25 kB / 268.5 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004/0.004022, allocations: 4.797 MB / 273.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009189/0.01321, allocations: 10.14 MB / 283.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005481/0.01376, allocations: 43.56 kB / 283.4 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.01497, allocations: 0.642 MB / 284.1 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.01702, allocations: 1.069 MB / 285.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.01812, allocations: 0.6156 MB / 285.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.01948, allocations: 1.444 MB / 287.2 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.01968, allocations: 122.3 kB / 287.3 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.02018, allocations: 0.5574 MB / 287.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.02043, allocations: 243.1 kB / 288.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.02047, allocations: 32 kB / 288.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008246/0.0213, allocations: 0.6673 MB / 288.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.02138, allocations: 115.2 kB / 288.9 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.02154, allocations: 227.3 kB / 289.2 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.02269, allocations: 1.07 MB / 290.2 MB, free: 352 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.0227, allocations: 0 / 290.2 MB, free: 352 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0227, allocations: 0 / 290.2 MB, free: 352 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.02271, allocations: 0 / 290.2 MB, free: 352 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.1021/0.1248, allocations: 1.251 MB / 291.5 MB, free: 19.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1249, allocations: 10.02 kB / 291.5 MB, free: 19.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.125, allocations: 96.67 kB / 291.6 MB, free: 19.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.1257, allocations: 0.6058 MB / 292.2 MB, free: 19.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1257, allocations: 20.03 kB / 292.2 MB, free: 19.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.1258, allocations: 29.56 kB / 292.2 MB, free: 19.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.1261, allocations: 224.6 kB / 292.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1261, allocations: 3.938 kB / 292.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1261, allocations: 9.781 kB / 292.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1261, allocations: 12.75 kB / 292.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.1263, allocations: 90.27 kB / 292.6 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1273, allocations: 0.8538 MB / 293.4 MB, free: 18.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1275, allocations: 181.1 kB / 293.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1276, allocations: 121.7 kB / 293.7 MB, free: 18.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/0.1298, allocations: 1.512 MB / 295.2 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.1299, allocations: 127.7 kB / 295.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.884e-06/0.1299, allocations: 0 / 295.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005763/0.1305, allocations: 322.7 kB / 295.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.1305, allocations: 55.33 kB / 295.7 MB, free: 18.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.131, allocations: 0.7375 MB / 296.5 MB, free: 18.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.131, allocations: 31.64 kB / 296.5 MB, free: 18.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1312, allocations: 287.9 kB / 296.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.1312, allocations: 107.7 kB / 296.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.1313, allocations: 66.77 kB / 296.9 MB, free: 17.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.775e-05/0.1313, allocations: 320.9 kB / 297.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.1314, allocations: 38.83 kB / 297.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.936e-05/0.1315, allocations: 144.4 kB / 297.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.1317, allocations: 223.1 kB / 297.7 MB, free: 17.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1317, allocations: 0 / 297.7 MB, free: 17.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003395/0.132, allocations: 309.9 kB / 298 MB, free: 17.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.132, allocations: 7.031 kB / 298 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.132, allocations: 10 kB / 298 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.1322, allocations: 46.55 kB / 298 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1323, allocations: 77 kB / 298.1 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007728/0.1331, allocations: 2.372 MB / 300.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1333, allocations: 34.45 kB / 300.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.1333, allocations: 17.66 kB / 300.5 MB, free: 14.96 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.0001109/0.1334, allocations: 137.5 kB / 300.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.1335, allocations: 76.23 kB / 300.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.1339, allocations: 297.4 kB / 301 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1339, allocations: 9.172 kB / 301 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1339, allocations: 1.094 kB / 301 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1339, allocations: 2.25 kB / 301 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.1342, allocations: 311 kB / 301.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.1342, allocations: 4.047 kB / 301.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.1343, allocations: 41.36 kB / 301.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.861e-05/0.1344, allocations: 43.59 kB / 301.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1345, allocations: 5.906 kB / 301.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006391/0.1351, allocations: 2.376 MB / 303.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1351, allocations: 1.031 kB / 303.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1354, allocations: 326.6 kB / 304.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1355, allocations: 96.88 kB / 304.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.1356, allocations: 5.281 kB / 304.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1357, allocations: 11.77 kB / 304.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.1358, allocations: 23.61 kB / 304.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1358, allocations: 8.266 kB / 304.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000276/0.136, allocations: 368.1 kB / 304.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.136, allocations: 2.625 kB / 304.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004429/0.1365, allocations: 254.7 kB / 304.9 MB, free: 12.11 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.000413/0.1369, allocations: 396.2 kB / 305.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.1373, allocations: 419.8 kB / 305.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.1373, allocations: 9.625 kB / 305.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.1375, allocations: 345.6 kB / 306 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1378, allocations: 114.6 kB / 306.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1391, allocations: 1.336 MB / 307.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.411e-05/0.1392, allocations: 153.6 kB / 307.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1393, allocations: 82.34 kB / 307.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.1395, allocations: 151 kB / 307.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1395, allocations: 0 / 307.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of Templates: time 0.01154/0.151, allocations: 9.647 MB / 317.5 MB, free: 5.156 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 -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.8124232082627714]