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.001835/0.001835, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002241/0.002241, allocations: 210.3 kB / 23.73 MB, free: 4.379 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001544/0.001544, allocations: 51.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2721, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006272/0.2784, allocations: 4.502 MB / 435.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.2907, allocations: 9.31 MB / 444.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/0.2915, allocations: 43.56 kB / 444.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.2933, allocations: 0.62 MB / 445.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.2964, allocations: 1.028 MB / 446.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.298, allocations: 0.6018 MB / 447.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002294/0.3003, allocations: 1.394 MB / 448.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.3005, allocations: 113.8 kB / 448.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003649/0.3009, allocations: 310.5 kB / 449 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.3013, allocations: 318 kB / 449.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.3013, allocations: 35.94 kB / 449.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.3026, allocations: 0.6986 MB / 450 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3027, allocations: 111.3 kB / 450.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.303, allocations: 294.1 kB / 450.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.3046, allocations: 1.299 MB / 451.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3046, allocations: 0 / 451.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3046, allocations: 4 kB / 451.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3046, allocations: 0 / 451.7 MB, free: 1.895 MB / 350.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.001975/0.3066, allocations: 1.282 MB / 453 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3066, allocations: 8.031 kB / 453 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.643e-05/0.3067, allocations: 66.72 kB / 453.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.3068, allocations: 128.1 kB / 453.2 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.3079, allocations: 0.6721 MB / 453.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.308, allocations: 20.66 kB / 453.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.308, allocations: 27.98 kB / 453.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.3087, allocations: 318 kB / 454.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3087, allocations: 0 / 454.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.3087, allocations: 15.98 kB / 454.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3087, allocations: 8 kB / 454.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.3094, allocations: 278.4 kB / 454.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.3113, allocations: 1.256 MB / 455.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006697/0.312, allocations: 278.6 kB / 456.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.3124, allocations: 212.8 kB / 456.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002909/0.3153, allocations: 1.319 MB / 457.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004535/0.3157, allocations: 204.9 kB / 457.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.3157, allocations: 0 / 457.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001429/0.3172, allocations: 0.5644 MB / 458.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3172, allocations: 51.41 kB / 458.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/0.3182, allocations: 0.8189 MB / 459.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3182, allocations: 29.7 kB / 459.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.3186, allocations: 444.9 kB / 459.7 MB, free: 9.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.3187, allocations: 115 kB / 459.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3188, allocations: 77.97 kB / 459.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.319, allocations: 321.9 kB / 460.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.3193, allocations: 124.6 kB / 460.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.3197, allocations: 214.6 kB / 460.5 MB, free: 8.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.3212, allocations: 0.7117 MB / 461.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3212, allocations: 0 / 461.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009918/0.3222, allocations: 0.5182 MB / 461.7 MB, free: 7.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3222, allocations: 7.938 kB / 461.8 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.14e-05/0.3223, allocations: 39.98 kB / 461.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.3225, allocations: 32.84 kB / 461.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.3228, allocations: 83.81 kB / 461.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.324, allocations: 1.338 MB / 463.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.3243, allocations: 47.66 kB / 463.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.3244, allocations: 20 kB / 463.3 MB, free: 5.809 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.0003397/0.3247, allocations: 206.4 kB / 463.5 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3248, allocations: 107.3 kB / 463.6 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.3259, allocations: 0.4886 MB / 464.1 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3259, allocations: 4 kB / 464.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3259, allocations: 4 kB / 464.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3259, allocations: 3.938 kB / 464.1 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.3266, allocations: 0.4989 MB / 464.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.974e-05/0.3267, allocations: 32 kB / 464.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.327, allocations: 59.89 kB / 464.7 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.3271, allocations: 28.83 kB / 464.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/0.3272, allocations: 8 kB / 464.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.3283, allocations: 1.342 MB / 466.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3283, allocations: 0 / 466.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.3296, allocations: 0.6226 MB / 466.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.3298, allocations: 123.2 kB / 466.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.3299, allocations: 8 kB / 466.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.3301, allocations: 7.984 kB / 466.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.3302, allocations: 27.95 kB / 466.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.3303, allocations: 23.92 kB / 466.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006876/0.3309, allocations: 0.5387 MB / 467.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3309, allocations: 0 / 467.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007135/0.3317, allocations: 243.4 kB / 467.7 MB, free: 1.238 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.002068/0.3337, allocations: 1.414 MB / 469.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.3348, allocations: 472.8 kB / 469.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3348, allocations: 0 / 469.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.3353, allocations: 319.9 kB / 469.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.3359, allocations: 116.8 kB / 470 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009362/0.3452, allocations: 5.934 MB / 475.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.3457, allocations: 361.7 kB / 476.3 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.346, allocations: 93.19 kB / 476.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.3464, allocations: 311.3 kB / 476.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3464, allocations: 0 / 476.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05632/0.4027, allocations: 18.48 MB / 495.1 MB, free: 5.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.25, allocations: 14.86 kB / 495.1 MB, free: 5.68 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.589908891008236] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.366073198994854 12.382711565 12.074745776 Calling exit ...