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.001592/0.001592, allocations: 115.6 kB / 18.45 MB, free: 4.566 MB / 14.72 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.001996/0.001996, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.575/1.575, allocations: 207.6 MB / 231.8 MB, free: 4.023 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 51.92 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.113, allocations: 49.13 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007152/0.1202, allocations: 5.029 MB / 396.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.1348, allocations: 10.48 MB / 406.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.1359, allocations: 43.5 kB / 407 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.1385, allocations: 0.6867 MB / 407.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004315/0.1428, allocations: 1.002 MB / 408.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.1451, allocations: 0.5998 MB / 409.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.1479, allocations: 1.338 MB / 410.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.1482, allocations: 117.2 kB / 410.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.1487, allocations: 286.6 kB / 411 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.1491, allocations: 321.9 kB / 411.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.1492, allocations: 32 kB / 411.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.1513, allocations: 0.6713 MB / 412 MB, free: 4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.1515, allocations: 111.3 kB / 412.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.152, allocations: 401.4 kB / 412.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.1545, allocations: 1.28 MB / 413.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1545, allocations: 4 kB / 413.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1545, allocations: 0 / 413.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.1545, allocations: 0 / 413.8 MB, free: 2.207 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.002511/0.1571, allocations: 1.353 MB / 415.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.1571, allocations: 12.03 kB / 415.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.753e-05/0.1572, allocations: 62.72 kB / 415.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.1574, allocations: 120.2 kB / 415.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.1585, allocations: 0.7513 MB / 416.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.1586, allocations: 20.56 kB / 416.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.1586, allocations: 28 kB / 416.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.1593, allocations: 325.2 kB / 416.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1593, allocations: 0 / 416.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.1594, allocations: 12 kB / 416.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.1594, allocations: 11.98 kB / 416.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.1601, allocations: 274.2 kB / 416.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.1623, allocations: 1.369 MB / 418.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007471/0.163, allocations: 278.6 kB / 418.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.1635, allocations: 216.6 kB / 418.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005018/0.1685, allocations: 3.6 MB / 422.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005021/0.169, allocations: 183.3 kB / 422.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.955e-06/0.169, allocations: 3.938 kB / 422.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001863/0.1708, allocations: 0.731 MB / 423.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.1709, allocations: 59.34 kB / 423.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.1721, allocations: 0.8115 MB / 424 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.1721, allocations: 33.7 kB / 424 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.1725, allocations: 452.8 kB / 424.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1726, allocations: 103.2 kB / 424.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.1728, allocations: 77.98 kB / 424.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1729, allocations: 322 kB / 424.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.1732, allocations: 116.7 kB / 425.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.1736, allocations: 216.1 kB / 425.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.1744, allocations: 364.9 kB / 425.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.1744, allocations: 4 kB / 425.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001107/0.1755, allocations: 0.5213 MB / 426.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1755, allocations: 8.438 kB / 426.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-05/0.1756, allocations: 39.98 kB / 426.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/0.1758, allocations: 61.62 kB / 426.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.1762, allocations: 79.78 kB / 426.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.1787, allocations: 2.844 MB / 429.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.1791, allocations: 47.7 kB / 429.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.1791, allocations: 20 kB / 429.2 MB, free: 1.469 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.0004234/0.1795, allocations: 205.7 kB / 429.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.1797, allocations: 115.3 kB / 429.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.1809, allocations: 494 kB / 430 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1809, allocations: 0 / 430 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.181, allocations: 4 kB / 430 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.181, allocations: 3.984 kB / 430 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.1817, allocations: 0.5545 MB / 430.6 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/0.1818, allocations: 32 kB / 430.6 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.1821, allocations: 55.83 kB / 430.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.1823, allocations: 45.69 kB / 430.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.1823, allocations: 11.98 kB / 430.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.1846, allocations: 2.84 MB / 433.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1846, allocations: 0 / 433.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.1861, allocations: 0.608 MB / 434.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.1863, allocations: 192.3 kB / 434.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.1864, allocations: 11.94 kB / 434.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.1866, allocations: 11.98 kB / 434.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.1867, allocations: 28.03 kB / 434.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.1868, allocations: 12 kB / 434.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007775/0.1876, allocations: 0.5506 MB / 435 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1876, allocations: 0 / 435 MB, free: 11.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007312/0.1883, allocations: 243.4 kB / 435.2 MB, free: 11.07 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.002161/0.1904, allocations: 1.403 MB / 436.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.1916, allocations: 0.566 MB / 437.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1916, allocations: 0 / 437.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.1923, allocations: 427 kB / 437.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.1928, allocations: 112.2 kB / 437.7 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009303/0.2021, allocations: 5.818 MB / 443.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.2027, allocations: 0.9561 MB / 444.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.2031, allocations: 85.2 kB / 444.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.2035, allocations: 331.3 kB / 444.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of SimCode: time 1.683e-06/0.2035, allocations: 0 / 444.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.253/0.4565, allocations: 17.57 MB / 462.5 MB, free: 64.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.38, allocations: 12.22 kB / 462.5 MB, free: 64.86 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 & 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: 15.029221682998468] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.470527322002454 12.481196959 12.323992484 Calling exit ...