Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00116/0.00116, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.006655/0.006655, allocations: 164.7 kB / 24.69 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.824/0.824, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.706e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.1169/0.117, allocations: 4.412 MB / 302.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007683/0.1246, allocations: 9.002 MB / 311.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.1253, allocations: 41.69 kB / 311.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.1266, allocations: 0.6172 MB / 312.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.1297, allocations: 1.038 MB / 313.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.1315, allocations: 0.6087 MB / 314.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.1336, allocations: 1.391 MB / 315.5 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.1338, allocations: 115.2 kB / 315.7 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005294/0.1343, allocations: 401.1 kB / 316.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.1346, allocations: 219.5 kB / 316.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.1347, allocations: 31.44 kB / 316.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.1362, allocations: 0.6375 MB / 316.9 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1363, allocations: 109.5 kB / 317 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.1366, allocations: 227.4 kB / 317.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.1387, allocations: 1.328 MB / 318.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1387, allocations: 0 / 318.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1387, allocations: 0 / 318.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.287e-05/0.1387, allocations: 0 / 318.6 MB, free: 4.941 MB / 282.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.001865/0.1406, allocations: 1.272 MB / 319.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1406, allocations: 14.36 kB / 319.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.1407, allocations: 63.08 kB / 319.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1408, allocations: 123.2 kB / 320.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.1416, allocations: 0.6795 MB / 320.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1416, allocations: 29.98 kB / 320.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.1417, allocations: 29.38 kB / 320.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.1421, allocations: 315.6 kB / 321.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1421, allocations: 1.469 kB / 321.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.1421, allocations: 9.156 kB / 321.1 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.1421, allocations: 10.27 kB / 321.1 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.1425, allocations: 276.9 kB / 321.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.1438, allocations: 1.262 MB / 322.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.1442, allocations: 268.5 kB / 322.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.1445, allocations: 214.6 kB / 323.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002259/0.1467, allocations: 1.448 MB / 324.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.147, allocations: 193.1 kB / 324.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.214e-06/0.147, allocations: 1.312 kB / 324.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009018/0.1479, allocations: 0.5839 MB / 325.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.1479, allocations: 55.62 kB / 325.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/0.1485, allocations: 0.8182 MB / 326.2 MB, free: 368 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1485, allocations: 31.73 kB / 326.3 MB, free: 332 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.1487, allocations: 456 kB / 326.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.1488, allocations: 99.12 kB / 326.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.1489, allocations: 68.03 kB / 326.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.1489, allocations: 321.7 kB / 327.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1491, allocations: 126 kB / 327.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.1493, allocations: 219.4 kB / 327.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.1497, allocations: 359 kB / 327.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1497, allocations: 5.219 kB / 327.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006071/0.1503, allocations: 0.5292 MB / 328.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1504, allocations: 11 kB / 328.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.1504, allocations: 34.77 kB / 328.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.1506, allocations: 59.12 kB / 328.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1507, allocations: 69.05 kB / 328.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.1521, allocations: 2.644 MB / 331.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.1523, allocations: 41.17 kB / 331.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.1523, allocations: 15.91 kB / 331.3 MB, free: 11.91 MB / 298.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.0002231/0.1525, allocations: 207.5 kB / 331.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.1526, allocations: 115.5 kB / 331.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.1533, allocations: 500 kB / 332.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1533, allocations: 2.844 kB / 332.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1533, allocations: 2.719 kB / 332.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1533, allocations: 3.984 kB / 332.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.1537, allocations: 498 kB / 332.6 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/0.1537, allocations: 32.81 kB / 332.6 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1539, allocations: 41.27 kB / 332.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.154, allocations: 54.41 kB / 332.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.154, allocations: 13.38 kB / 332.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.1553, allocations: 2.622 MB / 335.3 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1553, allocations: 0 / 335.3 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.156, allocations: 0.6036 MB / 335.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1562, allocations: 120 kB / 336.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.1562, allocations: 4.688 kB / 336.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1563, allocations: 14.86 kB / 336.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.1564, allocations: 28.33 kB / 336.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1564, allocations: 20.3 kB / 336.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004716/0.1569, allocations: 0.543 MB / 336.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1569, allocations: 0 / 336.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006016/0.1575, allocations: 246.1 kB / 336.9 MB, free: 7.262 MB / 298.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.001296/0.1588, allocations: 1.431 MB / 338.3 MB, free: 5.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006609/0.1595, allocations: 0.5737 MB / 338.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1595, allocations: 0 / 338.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.1598, allocations: 435 kB / 339.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1602, allocations: 98.62 kB / 339.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/0.1659, allocations: 5.745 MB / 345.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1662, allocations: 373 kB / 345.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.1663, allocations: 85.2 kB / 345.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.1666, allocations: 332.4 kB / 345.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1666, allocations: 3.938 kB / 345.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.2039, allocations: 18.63 MB / 364.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.245, allocations: 8.062 kB / 364.6 MB, free: 11.16 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.76099711842835] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 8.340479544363916 8.353615672 8.212107761 Calling exit ...