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.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.001706/0.001706, allocations: 115.9 kB / 18.45 MB, free: 4.586 MB / 14.72 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.00192/0.00192, allocations: 190.9 kB / 21.39 MB, free: 1.652 MB / 14.72 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 1.443/1.443, allocations: 207.6 MB / 231.8 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] 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: "" <> 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: 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.001731/0.001731, allocations: 51.92 kB / 342.2 MB, free: 10.16 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09379, allocations: 49.12 MB / 391.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.008811/0.1026, allocations: 5.029 MB / 396.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01822/0.1208, allocations: 10.48 MB / 406.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1219, allocations: 31.75 kB / 406.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.1243, allocations: 0.6866 MB / 407.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004458/0.1288, allocations: 0.9945 MB / 408.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.1312, allocations: 0.5998 MB / 409.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003264/0.1345, allocations: 1.35 MB / 410.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.1349, allocations: 117.2 kB / 410.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.1354, allocations: 278.6 kB / 410.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.136, allocations: 321.9 kB / 411.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.485e-05/0.136, allocations: 32 kB / 411.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.1383, allocations: 0.6675 MB / 411.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.1385, allocations: 107.3 kB / 412 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005195/0.139, allocations: 397.4 kB / 412.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.1414, allocations: 1.28 MB / 413.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1414, allocations: 0 / 413.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1414, allocations: 0 / 413.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.1414, allocations: 0 / 413.7 MB, free: 2.414 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.002586/0.144, allocations: 1.361 MB / 415.1 MB, free: 1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.1441, allocations: 8.031 kB / 415.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.734e-05/0.1442, allocations: 62.72 kB / 415.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.1444, allocations: 124.2 kB / 415.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.1458, allocations: 0.7513 MB / 416 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.1459, allocations: 20.56 kB / 416 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.1459, allocations: 24 kB / 416.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.1467, allocations: 333.2 kB / 416.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1467, allocations: 0 / 416.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.1468, allocations: 19.98 kB / 416.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.1468, allocations: 7.984 kB / 416.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008226/0.1476, allocations: 274.2 kB / 416.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.1503, allocations: 1.365 MB / 418 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/0.1511, allocations: 270.6 kB / 418.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.1516, allocations: 224.5 kB / 418.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005874/0.1575, allocations: 3.596 MB / 422.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005271/0.158, allocations: 195.3 kB / 422.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.956e-06/0.158, allocations: 0 / 422.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002038/0.16, allocations: 0.7309 MB / 423 MB, free: 8.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.1601, allocations: 59.34 kB / 423.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.1613, allocations: 0.8154 MB / 423.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.1613, allocations: 29.7 kB / 423.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.1618, allocations: 456.8 kB / 424.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1619, allocations: 99.16 kB / 424.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.162, allocations: 77.98 kB / 424.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1622, allocations: 326 kB / 424.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.1625, allocations: 116.7 kB / 425 MB, free: 6.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.1629, allocations: 228 kB / 425.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/0.1635, allocations: 356.9 kB / 425.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1635, allocations: 3.984 kB / 425.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001031/0.1646, allocations: 0.5291 MB / 426.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1646, allocations: 4 kB / 426.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-05/0.1646, allocations: 32 kB / 426.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.1649, allocations: 62.09 kB / 426.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.1652, allocations: 79.78 kB / 426.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.1678, allocations: 2.844 MB / 429.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.1682, allocations: 43.72 kB / 429.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.1682, allocations: 24 kB / 429.2 MB, free: 1.652 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.0003445/0.1685, allocations: 197.9 kB / 429.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.1687, allocations: 115.3 kB / 429.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.1698, allocations: 0.49 MB / 430 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1698, allocations: 7.984 kB / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1698, allocations: 0 / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1698, allocations: 0 / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007333/0.1706, allocations: 0.5506 MB / 430.5 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.591e-05/0.1706, allocations: 31.98 kB / 430.6 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.1709, allocations: 39.97 kB / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.171, allocations: 53.69 kB / 430.7 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.1711, allocations: 11.98 kB / 430.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.1735, allocations: 2.848 MB / 433.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1735, allocations: 192 / 433.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.1748, allocations: 0.6119 MB / 434.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.1751, allocations: 192.3 kB / 434.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.1751, allocations: 7.938 kB / 434.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.1754, allocations: 11.98 kB / 434.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.1754, allocations: 27.97 kB / 434.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.1755, allocations: 15.98 kB / 434.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007239/0.1762, allocations: 0.5467 MB / 434.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1762, allocations: 4.062 kB / 434.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006907/0.1769, allocations: 243.4 kB / 435.2 MB, free: 11.25 MB / 366.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.002119/0.179, allocations: 1.403 MB / 436.6 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1802, allocations: 0.5615 MB / 437.1 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1802, allocations: 0 / 437.1 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.1808, allocations: 431.5 kB / 437.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.1813, allocations: 108.2 kB / 437.7 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008683/0.19, allocations: 5.818 MB / 443.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.1906, allocations: 0.9561 MB / 444.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.1909, allocations: 77.22 kB / 444.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.1913, allocations: 335.3 kB / 444.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1913, allocations: 0 / 444.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/0.4298, allocations: 17.56 MB / 462.4 MB, free: 64.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.32, allocations: 7.969 kB / 462.4 MB, free: 64.28 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.67380087543279] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.411818081047386 12.426084772 12.281537791 Calling exit ...