Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00149/0.00149, allocations: 105.5 kB / 21.95 MB, free: 4.699 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.001565/0.001565, allocations: 214 kB / 25.26 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 47.94 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2561, allocations: 49.16 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004698/0.2608, allocations: 4.412 MB / 401.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00904/0.2699, allocations: 8.999 MB / 410.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.2709, allocations: 41.78 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.2727, allocations: 0.6079 MB / 411.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.2766, allocations: 1.009 MB / 412.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.2786, allocations: 0.5959 MB / 412.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002599/0.2812, allocations: 1.358 MB / 414.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.2814, allocations: 115.7 kB / 414.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.2818, allocations: 286.4 kB / 414.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.2822, allocations: 322.9 kB / 414.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.2823, allocations: 31.53 kB / 414.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.2838, allocations: 0.6676 MB / 415.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.2839, allocations: 111.8 kB / 415.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.2842, allocations: 298.6 kB / 416 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.2861, allocations: 1.288 MB / 417.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2861, allocations: 5.375 kB / 417.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2861, allocations: 0 / 417.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.2861, allocations: 0 / 417.3 MB, free: 12.1 MB / 334.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.002223/0.2883, allocations: 1.272 MB / 418.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2884, allocations: 17.19 kB / 418.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.559e-05/0.2884, allocations: 12.5 kB / 418.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.147e-05/0.2885, allocations: 64.55 kB / 418.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.2886, allocations: 129.4 kB / 418.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.2898, allocations: 0.68 MB / 419.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.2898, allocations: 19.66 kB / 419.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.2899, allocations: 34 kB / 419.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.2905, allocations: 316.7 kB / 419.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.2905, allocations: 1.312 kB / 419.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.2905, allocations: 10.16 kB / 419.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.2906, allocations: 14.02 kB / 419.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006632/0.2912, allocations: 273 kB / 420.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.2932, allocations: 1.273 MB / 421.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.2939, allocations: 273.5 kB / 421.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.2943, allocations: 209.1 kB / 421.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003438/0.2977, allocations: 1.445 MB / 423.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/0.2981, allocations: 189.6 kB / 423.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.514e-06/0.2981, allocations: 0 / 423.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001543/0.2997, allocations: 0.5838 MB / 424 MB, free: 7.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.2997, allocations: 59.38 kB / 424.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.3006, allocations: 0.8181 MB / 424.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.3007, allocations: 31.17 kB / 424.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.301, allocations: 450.6 kB / 425.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.3011, allocations: 103.1 kB / 425.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.3013, allocations: 81.91 kB / 425.6 MB, free: 6.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3014, allocations: 318 kB / 425.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.3017, allocations: 120.7 kB / 426 MB, free: 5.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.302, allocations: 216.1 kB / 426.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.3027, allocations: 360.9 kB / 426.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3027, allocations: 0 / 426.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001027/0.3037, allocations: 0.5257 MB / 427.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3037, allocations: 12.09 kB / 427.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.264e-05/0.3038, allocations: 32 kB / 427.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.304, allocations: 53.69 kB / 427.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.3043, allocations: 71.88 kB / 427.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.3064, allocations: 2.633 MB / 429.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.3069, allocations: 47.72 kB / 429.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.3069, allocations: 16 kB / 429.9 MB, free: 1.613 MB / 334.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.0003117/0.3072, allocations: 205.6 kB / 430.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.3074, allocations: 115.3 kB / 430.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.3084, allocations: 0.4933 MB / 430.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3084, allocations: 8 kB / 430.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3084, allocations: 3.938 kB / 430.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3084, allocations: 0 / 430.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.3091, allocations: 0.4989 MB / 431.3 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.564e-05/0.3091, allocations: 36 kB / 431.3 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.3094, allocations: 35.97 kB / 431.3 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00016/0.3095, allocations: 53.61 kB / 431.4 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.3095, allocations: 8 kB / 431.4 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.3116, allocations: 2.637 MB / 434 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3116, allocations: 4 kB / 434 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3128, allocations: 0.6042 MB / 434.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.3131, allocations: 111.2 kB / 434.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-05/0.3132, allocations: 7.984 kB / 434.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.3134, allocations: 15.98 kB / 434.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.3135, allocations: 35.97 kB / 434.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.3135, allocations: 12 kB / 434.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006926/0.3142, allocations: 0.5467 MB / 435.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3142, allocations: 4.062 kB / 435.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.315, allocations: 239.4 kB / 435.6 MB, free: 11.62 MB / 350.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.002109/0.3171, allocations: 1.41 MB / 437 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.3182, allocations: 0.562 MB / 437.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3182, allocations: 0 / 437.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006141/0.3188, allocations: 422.9 kB / 438 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.3193, allocations: 112.2 kB / 438.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008887/0.3282, allocations: 5.796 MB / 443.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3286, allocations: 365.3 kB / 444.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002538/0.3288, allocations: 89.19 kB / 444.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.3292, allocations: 331.3 kB / 444.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3292, allocations: 0 / 444.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/0.3825, allocations: 18.24 MB / 462.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.2, allocations: 11.95 kB / 462.9 MB, free: 15.86 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.454834469011985] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.381646992987953 13.396446045 13.107244591 Calling exit ...