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.001491/0.001491, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001648/0.001648, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.001463/0.001463, allocations: 47.91 kB / 378.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2483, allocations: 53.36 MB / 431.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005674/0.254, allocations: 4.491 MB / 436.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.2657, allocations: 9.314 MB / 445.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008277/0.2665, allocations: 39.56 kB / 445.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.2683, allocations: 0.6204 MB / 446.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.2714, allocations: 1.036 MB / 447.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.2731, allocations: 0.594 MB / 447.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.2758, allocations: 1.394 MB / 449.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.2761, allocations: 117.7 kB / 449.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004684/0.2765, allocations: 302.6 kB / 449.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.277, allocations: 317.9 kB / 450.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.937e-05/0.2771, allocations: 32 kB / 450.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.2787, allocations: 0.7064 MB / 450.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.2788, allocations: 111.3 kB / 450.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.2792, allocations: 306 kB / 451.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.2812, allocations: 1.284 MB / 452.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2812, allocations: 0 / 452.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2812, allocations: 0 / 452.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.2812, allocations: 0 / 452.5 MB, free: 1.926 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.002152/0.2834, allocations: 1.289 MB / 453.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.2834, allocations: 12.03 kB / 453.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.194e-05/0.2834, allocations: 4.844 kB / 453.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.331e-05/0.2835, allocations: 70.72 kB / 453.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2837, allocations: 120.2 kB / 454 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.2849, allocations: 0.6797 MB / 454.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.2849, allocations: 20.66 kB / 454.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.2849, allocations: 24 kB / 454.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.2856, allocations: 318 kB / 455 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2857, allocations: 0 / 455 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.2857, allocations: 12 kB / 455 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2857, allocations: 8 kB / 455 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.2863, allocations: 286.4 kB / 455.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.2883, allocations: 1.264 MB / 456.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.289, allocations: 262.6 kB / 456.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.2894, allocations: 224.7 kB / 457.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002931/0.2924, allocations: 1.315 MB / 458.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000465/0.2928, allocations: 211.2 kB / 458.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.945e-06/0.2928, allocations: 0 / 458.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001474/0.2943, allocations: 0.5535 MB / 459.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2944, allocations: 59.41 kB / 459.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009799/0.2953, allocations: 0.8072 MB / 460 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.2954, allocations: 33.7 kB / 460 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.2958, allocations: 444.9 kB / 460.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.2959, allocations: 115 kB / 460.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.296, allocations: 73.92 kB / 460.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2962, allocations: 325.9 kB / 461 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.2965, allocations: 132.6 kB / 461.1 MB, free: 9.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.2968, allocations: 210.6 kB / 461.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.2984, allocations: 0.7078 MB / 462 MB, free: 8.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2985, allocations: 3.938 kB / 462 MB, free: 8.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001017/0.2995, allocations: 0.5142 MB / 462.5 MB, free: 7.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2995, allocations: 8 kB / 462.5 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.19e-05/0.2996, allocations: 40.36 kB / 462.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.2997, allocations: 36.78 kB / 462.6 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.3001, allocations: 91.88 kB / 462.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.3013, allocations: 1.33 MB / 464 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.3016, allocations: 39.77 kB / 464.1 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.3017, allocations: 28.05 kB / 464.1 MB, free: 5.82 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.0003476/0.302, allocations: 205.7 kB / 464.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.3021, allocations: 111.3 kB / 464.4 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3032, allocations: 0.4901 MB / 464.9 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3032, allocations: 0 / 464.9 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3032, allocations: 4 kB / 464.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3032, allocations: 3.938 kB / 464.9 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.3039, allocations: 0.4989 MB / 465.4 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/0.3039, allocations: 36 kB / 465.4 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.3042, allocations: 67.81 kB / 465.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.3043, allocations: 28.84 kB / 465.5 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.3044, allocations: 8 kB / 465.5 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.3054, allocations: 1.342 MB / 466.9 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3054, allocations: 0 / 466.9 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.3066, allocations: 0.6225 MB / 467.5 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.3068, allocations: 107.3 kB / 467.6 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/0.3069, allocations: 4 kB / 467.6 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.3072, allocations: 19.97 kB / 467.6 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.3073, allocations: 23.97 kB / 467.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.3073, allocations: 15.98 kB / 467.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006608/0.3079, allocations: 0.5465 MB / 468.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3079, allocations: 0 / 468.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006341/0.3086, allocations: 247.3 kB / 468.5 MB, free: 1.246 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.002065/0.3106, allocations: 1.414 MB / 469.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000957/0.3116, allocations: 473.3 kB / 470.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3116, allocations: 4.062 kB / 470.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.3121, allocations: 312.2 kB / 470.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.3127, allocations: 118.8 kB / 470.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008337/0.321, allocations: 5.942 MB / 476.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.3213, allocations: 365.7 kB / 477.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.3216, allocations: 81.2 kB / 477.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.322, allocations: 319.3 kB / 477.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.322, allocations: 4 kB / 477.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/0.372, allocations: 18.15 MB / 495.6 MB, free: 6.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.42, allocations: 8.391 kB / 495.6 MB, free: 6.031 MB / 398.1 MB " [Timeout remaining time 646] (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: 15.726552127976902] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.590722457040101 13.606803954 13.322205501 Calling exit ...