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.0008642/0.0008642, allocations: 87.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.003702/0.003702, allocations: 162.3 kB / 24.69 MB, free: 9.41 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.8768/0.8768, allocations: 158.6 MB / 186.5 MB, free: 3.047 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 2.505e-06/2.505e-06, allocations: 3.984 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.655e-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.129/0.129, allocations: 4.419 MB / 302.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.137, allocations: 9.004 MB / 311.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.1376, allocations: 40.97 kB / 311.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.1388, allocations: 0.6139 MB / 312.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.1408, allocations: 1.041 MB / 313.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1419, allocations: 0.6088 MB / 314.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1432, allocations: 1.388 MB / 315.5 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.1434, allocations: 114.2 kB / 315.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.1438, allocations: 400.3 kB / 316 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.144, allocations: 219.3 kB / 316.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.1441, allocations: 32.25 kB / 316.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009358/0.145, allocations: 0.6378 MB / 316.9 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.15e-05/0.1451, allocations: 106.2 kB / 317 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.1453, allocations: 225 kB / 317.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.1465, allocations: 1.337 MB / 318.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1465, allocations: 0 / 318.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1465, allocations: 0 / 318.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1465, 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.001261/0.1478, allocations: 1.267 MB / 319.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1478, allocations: 17.61 kB / 319.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.1479, allocations: 67.59 kB / 319.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.96e-05/0.148, allocations: 123.8 kB / 320.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/0.1487, allocations: 0.6743 MB / 320.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1487, allocations: 22.34 kB / 320.8 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.1488, allocations: 26.06 kB / 320.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.1492, allocations: 321.1 kB / 321.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1492, allocations: 0 / 321.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.1492, allocations: 10.66 kB / 321.1 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1492, allocations: 12.8 kB / 321.1 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.1496, allocations: 273.6 kB / 321.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.1508, allocations: 1.26 MB / 322.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.1512, allocations: 275.4 kB / 322.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.1515, allocations: 216 kB / 323.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/0.1533, allocations: 1.451 MB / 324.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.1536, allocations: 185.7 kB / 324.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.1536, allocations: 1.312 kB / 324.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009415/0.1545, allocations: 0.58 MB / 325.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.1546, allocations: 63.64 kB / 325.4 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.1551, allocations: 0.8179 MB / 326.2 MB, free: 364 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1551, allocations: 32.64 kB / 326.3 MB, free: 328 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.1553, allocations: 451.1 kB / 326.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.1554, allocations: 102.9 kB / 326.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.1555, allocations: 68.88 kB / 326.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.1556, allocations: 321.7 kB / 327.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1558, allocations: 116.6 kB / 327.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.156, allocations: 224.7 kB / 327.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.1565, allocations: 359 kB / 327.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1565, 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.0006539/0.1571, allocations: 0.5278 MB / 328.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1571, allocations: 14.52 kB / 328.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.1572, allocations: 30.72 kB / 328.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.1573, allocations: 51.97 kB / 328.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.1575, allocations: 80.27 kB / 328.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.159, allocations: 2.639 MB / 331.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.1592, allocations: 40.7 kB / 331.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.1592, allocations: 23.44 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.0001768/0.1594, allocations: 206.6 kB / 331.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/0.1594, allocations: 111.8 kB / 331.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.16, allocations: 0.4896 MB / 332.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.16, allocations: 3.188 kB / 332.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.16, allocations: 0 / 332.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.16, allocations: 6.172 kB / 332.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.1604, allocations: 497.1 kB / 332.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-05/0.1604, allocations: 28.97 kB / 332.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.1606, allocations: 48.3 kB / 332.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.527e-05/0.1607, allocations: 55.47 kB / 332.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.1607, allocations: 8.969 kB / 332.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.1618, allocations: 2.631 MB / 335.3 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1618, allocations: 3.938 kB / 335.3 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.1625, allocations: 0.5949 MB / 335.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1626, allocations: 117.3 kB / 336 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1627, allocations: 10.88 kB / 336.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1628, allocations: 18.3 kB / 336.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.1628, allocations: 26.95 kB / 336.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1629, allocations: 13.61 kB / 336.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004317/0.1633, allocations: 0.5467 MB / 336.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1633, allocations: 0 / 336.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.1637, allocations: 248.9 kB / 336.9 MB, free: 7.258 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.001442/0.1652, allocations: 1.427 MB / 338.3 MB, free: 5.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006015/0.1658, allocations: 0.569 MB / 338.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1658, allocations: 0 / 338.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.1661, allocations: 431.9 kB / 339.3 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1664, allocations: 100.4 kB / 339.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.1718, allocations: 5.745 MB / 345.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.172, allocations: 373 kB / 345.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.1722, allocations: 81.2 kB / 345.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.1724, allocations: 340.3 kB / 345.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1724, allocations: 0 / 345.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04252/0.2149, allocations: 18.63 MB / 364.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.069, allocations: 8.062 kB / 364.6 MB, free: 11.15 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.csv --start-time 0 --stop-time 1e-07 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1.001e-10 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.726523742079735] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 8.163121570833027 8.177721245 8.028743191 Calling exit ...