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.001764/0.001764, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002217/0.002217, allocations: 212 kB / 24.47 MB, free: 3.547 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.401/1.401, allocations: 207.7 MB / 235.3 MB, free: 9.789 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",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.001879/0.001879, allocations: 58.58 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2442, allocations: 49.16 MB / 396.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004431/0.2486, allocations: 4.429 MB / 400.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008542/0.2572, allocations: 9.003 MB / 409.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007111/0.2579, allocations: 46.53 kB / 409.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.2595, allocations: 0.6027 MB / 410.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.2621, allocations: 1.011 MB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.2638, allocations: 0.5923 MB / 412 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.2661, allocations: 1.364 MB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.2664, allocations: 109.5 kB / 413.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.2668, allocations: 283.1 kB / 413.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.2671, allocations: 297.3 kB / 414.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.2672, allocations: 39.94 kB / 414.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.2686, allocations: 0.6325 MB / 414.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2687, allocations: 115 kB / 414.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.269, allocations: 291.8 kB / 415.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.2706, allocations: 1.288 MB / 416.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2706, allocations: 1.156 kB / 416.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2706, allocations: 4 kB / 416.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2706, allocations: 0 / 416.4 MB, free: 12.31 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.001975/0.2726, allocations: 1.276 MB / 417.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2726, allocations: 13.7 kB / 417.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/0.2727, allocations: 64.34 kB / 417.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.2729, allocations: 121.8 kB / 417.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.274, allocations: 0.6882 MB / 418.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.274, allocations: 18.53 kB / 418.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.2741, allocations: 25.22 kB / 418.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.2747, allocations: 322 kB / 418.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2747, allocations: 1.125 kB / 418.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.2747, allocations: 9.625 kB / 419 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2747, allocations: 7 kB / 419 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.2754, allocations: 284.2 kB / 419.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.2774, allocations: 1.264 MB / 420.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.278, allocations: 278 kB / 420.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.2784, allocations: 213.3 kB / 421 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0035/0.2819, allocations: 1.441 MB / 422.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004151/0.2824, allocations: 188.9 kB / 422.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.974e-06/0.2824, allocations: 0 / 422.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001535/0.2839, allocations: 0.5769 MB / 423.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.2839, allocations: 62.72 kB / 423.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009226/0.2849, allocations: 0.8184 MB / 424.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.2849, allocations: 32.08 kB / 424.1 MB, free: 7.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.2853, allocations: 456.5 kB / 424.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.097e-05/0.2854, allocations: 103.1 kB / 424.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.2855, allocations: 73.98 kB / 424.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2856, allocations: 326 kB / 425 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.2859, allocations: 112.7 kB / 425.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.2863, allocations: 224.1 kB / 425.4 MB, free: 5.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/0.287, allocations: 356.9 kB / 425.7 MB, free: 5.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.287, allocations: 4 kB / 425.7 MB, free: 5.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009952/0.288, allocations: 0.5176 MB / 426.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.288, allocations: 8.438 kB / 426.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.376e-05/0.288, allocations: 36 kB / 426.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.2883, allocations: 61.61 kB / 426.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.2886, allocations: 71.89 kB / 426.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.2907, allocations: 2.641 MB / 429 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.2911, allocations: 43.72 kB / 429.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.2912, allocations: 23.98 kB / 429.1 MB, free: 1.801 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.0002771/0.2914, allocations: 201.7 kB / 429.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.2916, allocations: 111.3 kB / 429.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.2927, allocations: 0.4892 MB / 429.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2927, allocations: 0 / 429.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2927, allocations: 4 kB / 429.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2927, allocations: 8.031 kB / 429.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.2933, allocations: 0.4989 MB / 430.4 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.706e-05/0.2933, allocations: 32 kB / 430.5 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.2936, allocations: 43.89 kB / 430.5 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.2937, allocations: 45.69 kB / 430.5 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.2937, allocations: 11.98 kB / 430.5 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.2958, allocations: 2.641 MB / 433.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2958, allocations: 0 / 433.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2971, allocations: 0.6042 MB / 433.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.2973, allocations: 111.3 kB / 433.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.2974, allocations: 4 kB / 433.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.2976, allocations: 19.91 kB / 433.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.2977, allocations: 23.97 kB / 434 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.2977, allocations: 15.98 kB / 434 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006664/0.2984, allocations: 0.5467 MB / 434.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2984, allocations: 0 / 434.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006402/0.299, allocations: 251.3 kB / 434.8 MB, free: 11.82 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.00199/0.301, allocations: 1.412 MB / 436.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.3021, allocations: 0.5584 MB / 436.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3021, allocations: 0 / 436.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005942/0.3027, allocations: 423 kB / 437.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.3031, allocations: 100.3 kB / 437.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00813/0.3113, allocations: 5.807 MB / 443 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3116, allocations: 365.3 kB / 443.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.3118, allocations: 81.22 kB / 443.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.3122, allocations: 331.3 kB / 443.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3122, allocations: 0 / 443.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08463/0.3969, allocations: 18.48 MB / 462.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.42, allocations: 4 kB / 462.3 MB, free: 15.85 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: 14.690769735258073] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.546289221849293 12.562105692 12.288351377 Calling exit ...