Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002139/0.002139, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002652/0.002652, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 53.34 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.1976/0.3044, allocations: 5.094 MB / 431.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.3147, allocations: 10.84 MB / 442.2 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.3157, allocations: 46.22 kB / 442.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.3179, allocations: 0.6997 MB / 443 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.3218, allocations: 1.015 MB / 444 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.3237, allocations: 0.6083 MB / 444.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002219/0.3259, allocations: 1.386 MB / 446 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.3262, allocations: 114.5 kB / 446.1 MB, free: 428 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.3267, allocations: 302.8 kB / 446.4 MB, free: 296 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.3271, allocations: 329.1 kB / 446.7 MB, free: 116 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.3271, allocations: 30.78 kB / 446.8 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.3292, allocations: 0.7448 MB / 447.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.3293, allocations: 111.5 kB / 447.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004739/0.3298, allocations: 400 kB / 448 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.3319, allocations: 1.277 MB / 449.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3319, allocations: 5.125 kB / 449.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3319, allocations: 0 / 449.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.3319, allocations: 0 / 449.3 MB, free: 15.03 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.00231/0.3342, allocations: 1.349 MB / 450.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3343, allocations: 9.969 kB / 450.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.032e-05/0.3344, allocations: 68.27 kB / 450.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.3345, allocations: 121.4 kB / 450.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3356, allocations: 0.7573 MB / 451.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3356, allocations: 22.44 kB / 451.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.3357, allocations: 30.25 kB / 451.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.3364, allocations: 323 kB / 452 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3364, allocations: 1.156 kB / 452 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.3364, allocations: 11.81 kB / 452 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.3364, allocations: 9.438 kB / 452 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.3371, allocations: 276.2 kB / 452.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.3394, allocations: 1.367 MB / 453.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/0.3401, allocations: 272.5 kB / 453.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.3406, allocations: 215.5 kB / 454.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003877/0.3444, allocations: 2.811 MB / 456.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004691/0.3449, allocations: 200 kB / 457.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.3449, allocations: 0 / 457.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001614/0.3465, allocations: 0.637 MB / 457.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3466, allocations: 54.7 kB / 457.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3476, allocations: 0.8082 MB / 458.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.3476, allocations: 31.17 kB / 458.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.348, allocations: 444.8 kB / 459.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3481, allocations: 114.3 kB / 459.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3483, allocations: 76 kB / 459.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3484, allocations: 323.7 kB / 459.6 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.3487, allocations: 118.8 kB / 459.7 MB, free: 8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.3491, allocations: 213.8 kB / 459.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.3508, allocations: 0.716 MB / 460.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3508, allocations: 1.219 kB / 460.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001094/0.3519, allocations: 0.5144 MB / 461.1 MB, free: 7.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3519, allocations: 10.62 kB / 461.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.65e-05/0.352, allocations: 38.69 kB / 461.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.3521, allocations: 28.97 kB / 461.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.3525, allocations: 88.66 kB / 461.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.354, allocations: 1.451 MB / 462.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.3545, allocations: 39.33 kB / 462.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.3545, allocations: 21.84 kB / 462.8 MB, free: 5.773 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.0004186/0.3549, allocations: 206.7 kB / 463 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.3551, allocations: 111.4 kB / 463.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.3563, allocations: 492.8 kB / 463.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3563, allocations: 3.562 kB / 463.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3563, allocations: 0 / 463.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3563, allocations: 3.938 kB / 463.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.3571, allocations: 0.5795 MB / 464.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-05/0.3572, allocations: 37.86 kB / 464.2 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.3576, allocations: 59.72 kB / 464.3 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.3577, allocations: 25.34 kB / 464.3 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.3577, allocations: 9.5 kB / 464.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.3591, allocations: 1.444 MB / 465.7 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3591, allocations: 3.984 kB / 465.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.3605, allocations: 0.615 MB / 466.4 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.3608, allocations: 182 kB / 466.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/0.3609, allocations: 6.219 kB / 466.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.3611, allocations: 22.22 kB / 466.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3612, allocations: 29.03 kB / 466.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.3613, allocations: 9.875 kB / 466.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008244/0.3621, allocations: 0.548 MB / 467.2 MB, free: 2.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3621, allocations: 0 / 467.2 MB, free: 2.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009295/0.363, allocations: 249.6 kB / 467.4 MB, free: 2.375 MB / 366.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.002406/0.3654, allocations: 1.417 MB / 468.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3665, allocations: 469.9 kB / 469.3 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3665, allocations: 0 / 469.3 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.3671, allocations: 318.4 kB / 469.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.3678, allocations: 116.6 kB / 469.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.3779, allocations: 5.94 MB / 475.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.3785, allocations: 0.9574 MB / 476.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.3788, allocations: 81.05 kB / 476.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.3792, allocations: 315.1 kB / 477 MB, free: 12.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3792, allocations: 0 / 477 MB, free: 12.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05595/0.4352, allocations: 17.53 MB / 494.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.25, allocations: 7.156 kB / 494.5 MB, free: 11.4 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.642373641952872] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.341406123014167 12.356862752 12.021850529 Calling exit ...