Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9038/0.9038, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.532e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004039/0.004065, allocations: 4.489 MB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.01169, allocations: 9.325 MB / 338.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007152/0.0124, allocations: 43.56 kB / 338.4 MB, free: 1.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.01372, allocations: 0.6259 MB / 339 MB, free: 1.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.016, allocations: 1.062 MB / 340.1 MB, free: 248 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.01725, allocations: 0.6016 MB / 340.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.01879, allocations: 1.436 MB / 342.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.019, allocations: 113.7 kB / 342.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005905/0.0196, allocations: 422.8 kB / 342.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.0198, allocations: 223.1 kB / 342.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.01983, allocations: 32 kB / 342.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008873/0.02072, allocations: 0.6673 MB / 343.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.02079, allocations: 111.3 kB / 343.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.02093, allocations: 219.3 kB / 343.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.02197, allocations: 1.328 MB / 345.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.02197, allocations: 4 kB / 345.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02197, allocations: 0 / 345.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.02198, allocations: 0 / 345.2 MB, free: 11.08 MB / 314.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.001285/0.02327, allocations: 1.274 MB / 346.5 MB, free: 9.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.02331, allocations: 15.98 kB / 346.5 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.75e-05/0.02337, allocations: 62.72 kB / 346.5 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.02347, allocations: 124.2 kB / 346.7 MB, free: 9.566 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/0.02422, allocations: 0.6794 MB / 347.3 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.02424, allocations: 21.03 kB / 347.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.02428, allocations: 28.12 kB / 347.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.02469, allocations: 321.9 kB / 347.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.0247, allocations: 0 / 347.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.02472, allocations: 12 kB / 347.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.02473, allocations: 4 kB / 347.7 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.02511, allocations: 290.4 kB / 348 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.02638, allocations: 1.273 MB / 349.3 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/0.02682, allocations: 274.6 kB / 349.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.02732, allocations: 216.8 kB / 349.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001669/0.02899, allocations: 1.303 MB / 351.1 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.02927, allocations: 215.1 kB / 351.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.714e-06/0.02927, allocations: 0 / 351.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008562/0.03013, allocations: 0.5484 MB / 351.8 MB, free: 4.215 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.03016, allocations: 55.41 kB / 351.9 MB, free: 4.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005892/0.03075, allocations: 0.8189 MB / 352.7 MB, free: 3.312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.03077, allocations: 29.7 kB / 352.7 MB, free: 3.277 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.03101, allocations: 444.9 kB / 353.2 MB, free: 2.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.03107, allocations: 111.1 kB / 353.3 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.03114, allocations: 70.02 kB / 353.3 MB, free: 2.656 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.03122, allocations: 322 kB / 353.6 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.03139, allocations: 124.7 kB / 353.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.03159, allocations: 215 kB / 354 MB, free: 1.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009253/0.03252, allocations: 0.7245 MB / 354.7 MB, free: 1.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.03252, allocations: 0 / 354.7 MB, free: 1.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005772/0.0331, allocations: 0.5139 MB / 355.2 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.03312, allocations: 8 kB / 355.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/0.03316, allocations: 36 kB / 355.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.03326, allocations: 33.2 kB / 355.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.03345, allocations: 87.89 kB / 355.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008137/0.03427, allocations: 1.342 MB / 356.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.03443, allocations: 39.72 kB / 356.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.03446, allocations: 20 kB / 356.8 MB, free: 14.99 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005191/0.03498, allocations: 210.6 kB / 357 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.03505, allocations: 111.3 kB / 357.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006374/0.03568, allocations: 496.8 kB / 357.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.03569, allocations: 4 kB / 357.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.03569, allocations: 0 / 357.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.0357, allocations: 0 / 357.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.03607, allocations: 0.5028 MB / 358.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/0.0361, allocations: 32 kB / 358.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.03627, allocations: 63.83 kB / 358.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.98e-05/0.03634, allocations: 36.77 kB / 358.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.03636, allocations: 12 kB / 358.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006729/0.03704, allocations: 1.334 MB / 359.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03704, allocations: 0 / 359.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007359/0.03777, allocations: 0.615 MB / 360.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.03791, allocations: 115.2 kB / 360.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.03796, allocations: 4 kB / 360.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.03808, allocations: 15.98 kB / 360.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.03815, allocations: 27.95 kB / 360.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.03817, allocations: 8 kB / 360.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004332/0.03861, allocations: 0.5543 MB / 360.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03861, allocations: 0 / 360.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004341/0.03904, allocations: 235.4 kB / 361.1 MB, free: 10.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001281/0.04032, allocations: 1.438 MB / 362.6 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.04093, allocations: 469.3 kB / 363 MB, free: 8.492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.04093, allocations: 0.75 kB / 363 MB, free: 8.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.04121, allocations: 316.2 kB / 363.3 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.04158, allocations: 116.3 kB / 363.4 MB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/0.04771, allocations: 5.866 MB / 369.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.04792, allocations: 365.7 kB / 369.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.04812, allocations: 89.19 kB / 369.8 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.04837, allocations: 316.4 kB / 370.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of SimCode: time 1.914e-06/0.04837, allocations: 0 / 370.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.08149, allocations: 18.52 MB / 388.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/7.837, allocations: 7.094 kB / 388.6 MB, free: 14.8 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.602431236766279] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 7.933917637914419 7.946043167 7.922118178 Calling exit ...