Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 184.2 kB / 23.71 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 43.94 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2781, allocations: 52.2 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006544/0.2847, allocations: 5.096 MB / 427.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.298, allocations: 10.83 MB / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008083/0.2989, allocations: 43.5 kB / 438.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.3007, allocations: 0.6879 MB / 439.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.3037, allocations: 1.029 MB / 440.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3051, allocations: 0.6059 MB / 440.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.3073, allocations: 1.382 MB / 442.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.3075, allocations: 113.8 kB / 442.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.3079, allocations: 306.5 kB / 442.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.3083, allocations: 314 kB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.657e-05/0.3084, allocations: 32 kB / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.3101, allocations: 0.7414 MB / 443.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.3102, allocations: 111.3 kB / 443.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005228/0.3108, allocations: 409.4 kB / 444.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.3131, allocations: 1.272 MB / 445.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3132, allocations: 4 kB / 445.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3132, allocations: 0 / 445.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3132, allocations: 0 / 445.6 MB, free: 7.52 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.002907/0.3161, allocations: 1.286 MB / 446.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.3161, allocations: 12.03 kB / 446.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.3163, allocations: 62.72 kB / 446.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.3165, allocations: 124.2 kB / 447.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.3181, allocations: 0.6915 MB / 447.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.449e-05/0.3182, allocations: 16.66 kB / 447.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/0.3183, allocations: 28 kB / 447.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000939/0.3192, allocations: 318 kB / 448.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3192, allocations: 0 / 448.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.3193, allocations: 8 kB / 448.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3193, allocations: 8 kB / 448.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/0.3203, allocations: 286.4 kB / 448.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.3233, allocations: 1.319 MB / 449.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009896/0.3242, allocations: 278.5 kB / 450 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.3249, allocations: 212.8 kB / 450.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005027/0.3299, allocations: 1.463 MB / 451.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006245/0.3305, allocations: 203.1 kB / 451.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.505e-06/0.3305, allocations: 4 kB / 451.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002224/0.3327, allocations: 0.5804 MB / 452.4 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.3328, allocations: 55.41 kB / 452.5 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.3343, allocations: 0.8154 MB / 453.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.3343, allocations: 33.7 kB / 453.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005773/0.3349, allocations: 448.9 kB / 453.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.335, allocations: 103 kB / 453.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.3352, allocations: 74.02 kB / 454 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3354, allocations: 325.9 kB / 454.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.3358, allocations: 120.6 kB / 454.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.3364, allocations: 231.9 kB / 454.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.3374, allocations: 361.3 kB / 455 MB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3374, allocations: 0 / 455 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001511/0.3389, allocations: 0.5296 MB / 455.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3389, allocations: 8 kB / 455.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.881e-05/0.339, allocations: 32 kB / 455.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.3393, allocations: 57.62 kB / 455.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.3397, allocations: 75.88 kB / 455.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.3428, allocations: 2.638 MB / 458.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.3433, allocations: 35.77 kB / 458.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.3434, allocations: 20.06 kB / 458.4 MB, free: 10.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004407/0.3438, allocations: 213.6 kB / 458.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.344, allocations: 111.3 kB / 458.7 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.3456, allocations: 500 kB / 459.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3456, allocations: 4 kB / 459.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3456, allocations: 3.938 kB / 459.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3456, allocations: 0 / 459.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.3465, allocations: 0.534 MB / 459.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.853e-05/0.3466, allocations: 35.94 kB / 459.7 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.3469, allocations: 43.89 kB / 459.8 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.3472, allocations: 45.69 kB / 459.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.3472, allocations: 12 kB / 459.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/0.3502, allocations: 2.641 MB / 462.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3502, allocations: 0 / 462.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.352, allocations: 0.612 MB / 463.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.3524, allocations: 107.3 kB / 463.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3525, allocations: 8 kB / 463.2 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.3529, allocations: 20.05 kB / 463.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.353, allocations: 27.95 kB / 463.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.353, allocations: 12 kB / 463.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001071/0.3541, allocations: 0.5506 MB / 463.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3541, allocations: 0 / 463.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001073/0.3552, allocations: 239.4 kB / 464.1 MB, free: 4.074 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * 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 (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.002991/0.3582, allocations: 1.418 MB / 465.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.3598, allocations: 0.5699 MB / 466 MB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3598, allocations: 7.875 kB / 466 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008851/0.3607, allocations: 411 kB / 466.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.3615, allocations: 112.3 kB / 466.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.3741, allocations: 5.811 MB / 472.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/0.3748, allocations: 0.9483 MB / 473.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.375, allocations: 89.19 kB / 473.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.3754, allocations: 335.3 kB / 473.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3754, allocations: 0 / 473.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06244/0.4379, allocations: 17.85 MB / 491.6 MB, free: 8.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/13.88, allocations: 7.375 kB / 491.6 MB, free: 8.379 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.433805761997064] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 14.020064461001311 14.036030273 13.719622363 Calling exit ...