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.001261/0.001261, allocations: 113 kB / 18.49 MB, free: 4.598 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.00139/0.00139, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.407/1.407, allocations: 230.6 MB / 254.8 MB, free: 15.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 47.92 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.1002, allocations: 53.34 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.1959/0.2961, allocations: 5.088 MB / 432.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00952/0.3056, allocations: 10.84 MB / 442.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008733/0.3065, allocations: 45.31 kB / 443 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.3083, allocations: 0.7011 MB / 443.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.3114, allocations: 1.019 MB / 444.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.3132, allocations: 0.6042 MB / 445.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002191/0.3153, allocations: 1.386 MB / 446.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.3156, allocations: 117.7 kB / 446.8 MB, free: 456 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.3161, allocations: 297.8 kB / 447.1 MB, free: 328 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.3165, allocations: 324.8 kB / 447.4 MB, free: 152 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.3165, allocations: 30.66 kB / 447.5 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.3184, allocations: 0.7531 MB / 448.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3185, allocations: 106.9 kB / 448.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.3189, allocations: 404.2 kB / 448.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.3209, allocations: 1.277 MB / 450 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3209, allocations: 0 / 450 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3209, allocations: 1.031 kB / 450 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.3209, allocations: 0 / 450 MB, free: 15.06 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.002296/0.3232, allocations: 1.363 MB / 451.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3233, allocations: 10.53 kB / 451.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.222e-05/0.3233, allocations: 7.531 kB / 451.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.914e-05/0.3234, allocations: 64.55 kB / 451.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.3235, allocations: 122.3 kB / 451.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.3247, allocations: 0.7554 MB / 452.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3248, allocations: 18.25 kB / 452.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.3248, allocations: 34.16 kB / 452.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.3255, allocations: 319.5 kB / 452.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3255, allocations: 0.6875 kB / 452.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.3256, allocations: 10.25 kB / 452.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.3256, allocations: 10.47 kB / 452.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.3262, allocations: 273.5 kB / 453 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.3284, allocations: 1.371 MB / 454.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.3291, allocations: 273.5 kB / 454.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.3296, allocations: 222.4 kB / 454.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003931/0.3335, allocations: 2.795 MB / 457.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.334, allocations: 204.5 kB / 457.8 MB, free: 9.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.435e-06/0.334, allocations: 0 / 457.8 MB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001581/0.3356, allocations: 0.6366 MB / 458.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3356, allocations: 54.81 kB / 458.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3367, allocations: 0.8071 MB / 459.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3367, allocations: 31.92 kB / 459.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.3371, allocations: 445.5 kB / 459.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3372, allocations: 114.8 kB / 459.9 MB, free: 8.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.3374, allocations: 74.52 kB / 460 MB, free: 8.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3375, allocations: 323.2 kB / 460.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.3378, allocations: 120.6 kB / 460.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.3382, allocations: 220.2 kB / 460.6 MB, free: 7.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.3399, allocations: 0.7145 MB / 461.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3399, allocations: 1.562 kB / 461.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001069/0.341, allocations: 0.5095 MB / 461.8 MB, free: 7.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.341, allocations: 7.734 kB / 461.8 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.615e-05/0.341, allocations: 35.28 kB / 461.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.3412, allocations: 48.33 kB / 461.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.3415, allocations: 81.89 kB / 462 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.3429, allocations: 1.446 MB / 463.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.3435, allocations: 43.81 kB / 463.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.3435, allocations: 14.25 kB / 463.5 MB, free: 5.801 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.0004301/0.344, allocations: 210 kB / 463.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.3441, allocations: 113.8 kB / 463.8 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.3453, allocations: 490.6 kB / 464.3 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3454, allocations: 2.969 kB / 464.3 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3454, allocations: 4.859 kB / 464.3 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3454, allocations: 3.938 kB / 464.3 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008267/0.3462, allocations: 0.5732 MB / 464.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.927e-05/0.3462, allocations: 35 kB / 464.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.3466, allocations: 56.89 kB / 465 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.3467, allocations: 36.27 kB / 465 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.3467, allocations: 11 kB / 465 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.3479, allocations: 1.441 MB / 466.5 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3479, allocations: 1.062 kB / 466.5 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.3491, allocations: 0.6113 MB / 467.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.3494, allocations: 185.8 kB / 467.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.3495, allocations: 14.16 kB / 467.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3497, allocations: 16.11 kB / 467.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.3498, allocations: 24.69 kB / 467.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.3498, allocations: 18.17 kB / 467.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007416/0.3506, allocations: 0.5434 MB / 467.9 MB, free: 2.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3506, allocations: 1.188 kB / 467.9 MB, free: 2.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008369/0.3514, allocations: 248.9 kB / 468.1 MB, free: 2.406 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.00228/0.3537, allocations: 1.416 MB / 469.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3548, allocations: 471.4 kB / 470 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3548, allocations: 0 / 470 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.3553, allocations: 316.1 kB / 470.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/0.356, allocations: 114.5 kB / 470.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009315/0.3653, allocations: 5.935 MB / 476.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.366, allocations: 0.9526 MB / 477.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.3662, allocations: 90.34 kB / 477.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.3666, allocations: 320.7 kB / 477.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3666, allocations: 0 / 477.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/0.414, allocations: 17.57 MB / 495.3 MB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.31, allocations: 4.062 kB / 495.3 MB, free: 11.39 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.60135466902284] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.451527572004125 12.466115852 12.142197964 Calling exit ...