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.001354/0.001354, allocations: 118.2 kB / 18.49 MB, free: 4.566 MB / 14.72 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.001377/0.001377, allocations: 218.3 kB / 21.46 MB, free: 1.613 MB / 14.72 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 1.463/1.463, allocations: 230.4 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 59.89 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.117, allocations: 53.38 MB / 427.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006879/0.1238, allocations: 5.102 MB / 432.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.1387, allocations: 10.84 MB / 443 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.1399, allocations: 43.5 kB / 443 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.1423, allocations: 0.6982 MB / 443.7 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.1464, allocations: 1.014 MB / 444.8 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.1483, allocations: 0.6115 MB / 445.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002522/0.1508, allocations: 1.389 MB / 446.8 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.1511, allocations: 113.1 kB / 446.9 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.1516, allocations: 298.5 kB / 447.2 MB, free: 432 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.1519, allocations: 325.9 kB / 447.5 MB, free: 104 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.152, allocations: 36 kB / 447.5 MB, free: 68 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.246/0.398, allocations: 0.7414 MB / 448.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.3982, allocations: 110.9 kB / 448.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.3988, allocations: 403 kB / 448.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.401, allocations: 1.273 MB / 450 MB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.401, allocations: 3.656 kB / 450 MB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.401, allocations: 0 / 450 MB, free: 10.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.4011, allocations: 0 / 450 MB, free: 10.14 MB / 366.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.001885/0.4029, allocations: 1.358 MB / 451.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.403, allocations: 9.75 kB / 451.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.929e-05/0.403, allocations: 9.438 kB / 451.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/0.4031, allocations: 70.44 kB / 451.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.4032, allocations: 122.1 kB / 451.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009279/0.4041, allocations: 0.7473 MB / 452.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.4042, allocations: 23.59 kB / 452.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.4042, allocations: 25.31 kB / 452.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.4049, allocations: 319.1 kB / 452.7 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4049, allocations: 0 / 452.7 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.4049, allocations: 11.42 kB / 452.7 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.4049, allocations: 7.625 kB / 452.7 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.4056, allocations: 280.2 kB / 453 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.4075, allocations: 1.367 MB / 454.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/0.4081, allocations: 278 kB / 454.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/0.4085, allocations: 211 kB / 454.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002898/0.4114, allocations: 2.802 MB / 457.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004372/0.4119, allocations: 205.8 kB / 457.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.986e-06/0.4119, allocations: 0 / 457.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001493/0.4133, allocations: 0.632 MB / 458.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.4134, allocations: 57.84 kB / 458.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.4145, allocations: 0.8125 MB / 459.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.4145, allocations: 36.33 kB / 459.4 MB, free: 5.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.4148, allocations: 444.2 kB / 459.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.4149, allocations: 120.3 kB / 459.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.415, allocations: 72.06 kB / 460 MB, free: 5.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.4151, allocations: 326.1 kB / 460.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.4154, allocations: 119.2 kB / 460.4 MB, free: 5.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.4157, allocations: 221.7 kB / 460.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.4172, allocations: 0.7079 MB / 461.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4172, allocations: 1.344 kB / 461.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001003/0.4182, allocations: 0.5127 MB / 461.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4183, allocations: 6.938 kB / 461.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.432e-05/0.4183, allocations: 39.8 kB / 461.9 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/0.4184, allocations: 32.11 kB / 461.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.4188, allocations: 88.48 kB / 462 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007779/0.4196, allocations: 1.445 MB / 463.5 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.42, allocations: 43.62 kB / 463.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.42, allocations: 22.31 kB / 463.5 MB, free: 2.883 MB / 366.1 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.0002834/0.4203, allocations: 212.6 kB / 463.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4204, allocations: 113.5 kB / 463.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.4214, allocations: 483.5 kB / 464.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4215, allocations: 5.781 kB / 464.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4215, allocations: 0.6562 kB / 464.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4215, allocations: 1.844 kB / 464.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.4221, allocations: 0.5752 MB / 464.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.864e-05/0.4221, allocations: 33.62 kB / 464.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.4225, allocations: 62.42 kB / 465 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-05/0.4225, allocations: 29.02 kB / 465 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.4226, allocations: 11.16 kB / 465 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000675/0.4232, allocations: 1.441 MB / 466.5 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4232, allocations: 0 / 466.5 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.4244, allocations: 0.6239 MB / 467.1 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.4246, allocations: 186.5 kB / 467.3 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.4246, allocations: 6.656 kB / 467.3 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.4249, allocations: 17.58 kB / 467.3 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.425, allocations: 24.56 kB / 467.3 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.425, allocations: 11.61 kB / 467.4 MB, free: 164 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006743/0.4257, allocations: 0.5483 MB / 467.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4257, allocations: 1.281 kB / 467.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007306/0.4264, allocations: 246.4 kB / 468.1 MB, free: 15.86 MB / 382.1 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.002125/0.4285, allocations: 1.408 MB / 469.6 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009787/0.4295, allocations: 476.8 kB / 470 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4295, allocations: 0 / 470 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.43, allocations: 319.4 kB / 470.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.4306, allocations: 122 kB / 470.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00897/0.4396, allocations: 5.934 MB / 476.4 MB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.4402, allocations: 0.9554 MB / 477.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.4405, allocations: 86.31 kB / 477.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.4409, allocations: 313.4 kB / 477.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4409, allocations: 0 / 477.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06455/0.5054, allocations: 17.57 MB / 495.3 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.78, allocations: 8 kB / 495.3 MB, free: 0.9688 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 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: 15.247595562017523] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.928671050001867 12.954764055 12.548822228 Calling exit ...