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.007089/0.007089, allocations: 114 kB / 21.97 MB, free: 5.23 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.001865/0.001865, allocations: 207.6 kB / 25.27 MB, free: 3.246 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.335/1.335, allocations: 207.6 MB / 236 MB, free: 9.996 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.001643/0.001643, allocations: 47.92 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2492, allocations: 49.17 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004796/0.254, allocations: 5.045 MB / 402.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.2642, allocations: 10.5 MB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.2654, allocations: 41.31 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.2677, allocations: 0.6827 MB / 413.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.2717, allocations: 1.011 MB / 414.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.274, allocations: 0.6029 MB / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002634/0.2767, allocations: 1.351 MB / 416.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.2769, allocations: 124.5 kB / 416.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.2773, allocations: 291.4 kB / 416.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.2777, allocations: 314.4 kB / 417.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.2778, allocations: 31.25 kB / 417.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.2794, allocations: 0.6773 MB / 417.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2795, allocations: 107.4 kB / 417.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.2799, allocations: 409.8 kB / 418.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.2815, allocations: 1.265 MB / 419.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2815, allocations: 3.984 kB / 419.6 MB, free: 9.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2815, allocations: 0 / 419.6 MB, free: 9.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.2815, allocations: 0 / 419.6 MB, free: 9.812 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.002057/0.2836, allocations: 1.28 MB / 420.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2836, allocations: 14.02 kB / 420.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.928e-05/0.2836, allocations: 11.94 kB / 420.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.05e-05/0.2837, allocations: 63.62 kB / 420.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2839, allocations: 121.8 kB / 421.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.2849, allocations: 0.684 MB / 421.7 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2849, allocations: 19.97 kB / 421.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.285, allocations: 24.59 kB / 421.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.2856, allocations: 326.5 kB / 422.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2856, allocations: 0 / 422.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2857, allocations: 10.38 kB / 422.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.2857, allocations: 6.531 kB / 422.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.2863, allocations: 280.8 kB / 422.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2882, allocations: 1.332 MB / 423.7 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.2889, allocations: 269.5 kB / 424 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.2893, allocations: 213.6 kB / 424.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003406/0.2927, allocations: 1.477 MB / 425.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.2931, allocations: 185.1 kB / 425.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.084e-06/0.2931, allocations: 0 / 425.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001559/0.2947, allocations: 0.5844 MB / 426.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.2947, allocations: 62.72 kB / 426.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.2957, allocations: 0.8185 MB / 427.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.2957, allocations: 30.92 kB / 427.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.2961, allocations: 448.2 kB / 427.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.2962, allocations: 107 kB / 427.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.2963, allocations: 72.78 kB / 428 MB, free: 4.023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2964, allocations: 321.7 kB / 428.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.2967, allocations: 120.5 kB / 428.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.2971, allocations: 224.1 kB / 428.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/0.2978, allocations: 362.4 kB / 429 MB, free: 3.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2978, allocations: 0 / 429 MB, free: 3.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001017/0.2988, allocations: 0.5292 MB / 429.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2988, allocations: 4 kB / 429.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.033e-05/0.2989, allocations: 36 kB / 429.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.2991, allocations: 58.09 kB / 429.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.2994, allocations: 79.83 kB / 429.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.3016, allocations: 2.633 MB / 432.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.302, allocations: 47.75 kB / 432.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.302, allocations: 16 kB / 432.4 MB, free: 15.4 MB / 350.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.0002868/0.3023, allocations: 213.7 kB / 432.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.3024, allocations: 115.3 kB / 432.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3035, allocations: 493.1 kB / 433.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3035, allocations: 0 / 433.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3035, allocations: 4 kB / 433.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3035, allocations: 0 / 433.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.3041, allocations: 0.5301 MB / 433.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.917e-05/0.3041, allocations: 32 kB / 433.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.3044, allocations: 39.95 kB / 433.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.3045, allocations: 53.62 kB / 433.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3045, allocations: 15.98 kB / 433.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.3065, allocations: 2.641 MB / 436.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3065, allocations: 0 / 436.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.3077, allocations: 0.6119 MB / 437.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.3079, allocations: 107.2 kB / 437.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.308, allocations: 8 kB / 437.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.3082, allocations: 11.98 kB / 437.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.3083, allocations: 27.95 kB / 437.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.3084, allocations: 12 kB / 437.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006508/0.309, allocations: 0.5545 MB / 437.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.309, allocations: 4 kB / 437.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000708/0.3097, allocations: 239.4 kB / 438 MB, free: 9.387 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.001984/0.3117, allocations: 1.414 MB / 439.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.3128, allocations: 0.5652 MB / 440 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3128, allocations: 0 / 440 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006089/0.3134, allocations: 423.8 kB / 440.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.3139, allocations: 96.31 kB / 440.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008014/0.3219, allocations: 5.823 MB / 446.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.3225, allocations: 0.9522 MB / 447.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.3227, allocations: 81.2 kB / 447.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.3231, allocations: 331.3 kB / 447.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3231, allocations: 7.938 kB / 447.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05014/0.3732, allocations: 17.87 MB / 465.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.2, allocations: 23.81 kB / 465.6 MB, free: 13.39 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.489133052993566] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.386903876962606 13.40271574 13.117858232 Calling exit ...