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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 107 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 188.5 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 207.6 MB / 234 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.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: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 47.92 kB / 345.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2577, allocations: 49.12 MB / 394.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004938/0.2626, allocations: 5.03 MB / 400 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.2733, allocations: 10.48 MB / 410.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.2747, allocations: 30.25 kB / 410.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.2774, allocations: 0.6806 MB / 411.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.2816, allocations: 1.004 MB / 412.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.2837, allocations: 0.6021 MB / 412.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.2865, allocations: 1.342 MB / 414.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.2868, allocations: 118 kB / 414.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.2872, allocations: 274.9 kB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.2876, allocations: 320.7 kB / 414.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.2877, allocations: 31.06 kB / 414.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.2894, allocations: 0.6765 MB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.2895, allocations: 104.9 kB / 415.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.2899, allocations: 405.1 kB / 416 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.2919, allocations: 1.275 MB / 417.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.292, allocations: 1.781 kB / 417.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.292, allocations: 3.938 kB / 417.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.292, allocations: 0 / 417.3 MB, free: 10.32 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.002195/0.2942, allocations: 1.354 MB / 418.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2942, allocations: 9.875 kB / 418.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.2944, allocations: 125 kB / 418.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.2955, allocations: 0.7654 MB / 419.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.2956, allocations: 19.66 kB / 419.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.2956, allocations: 25.06 kB / 419.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.2963, allocations: 319.5 kB / 419.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2963, allocations: 0 / 419.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.2963, allocations: 10.19 kB / 419.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.2963, allocations: 6.719 kB / 419.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.297, allocations: 283.2 kB / 420.2 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.2991, allocations: 1.363 MB / 421.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.2998, allocations: 271.4 kB / 421.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004401/0.3002, allocations: 232.4 kB / 422 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004489/0.3047, allocations: 3.593 MB / 425.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.3051, allocations: 192.7 kB / 425.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.893e-06/0.3051, allocations: 1.75 kB / 425.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001703/0.3068, allocations: 0.7293 MB / 426.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3069, allocations: 58.69 kB / 426.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/0.3078, allocations: 0.8262 MB / 427.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3079, allocations: 27.17 kB / 427.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.3083, allocations: 446.9 kB / 427.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.3084, allocations: 106.6 kB / 428 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.3085, allocations: 73.53 kB / 428.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3087, allocations: 321.6 kB / 428.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.309, allocations: 117.4 kB / 428.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.3094, allocations: 228.4 kB / 428.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.3101, allocations: 359.9 kB / 429.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3101, allocations: 5.969 kB / 429.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001028/0.3111, allocations: 0.5265 MB / 429.6 MB, free: 248 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3111, allocations: 8 kB / 429.6 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.515e-05/0.3112, allocations: 35.94 kB / 429.6 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.3114, allocations: 50.09 kB / 429.7 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.3117, allocations: 83.83 kB / 429.8 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.3142, allocations: 2.844 MB / 432.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.3145, allocations: 43.72 kB / 432.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.3146, allocations: 16 kB / 432.7 MB, free: 12.88 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.0002739/0.3148, allocations: 209.6 kB / 432.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.315, allocations: 115.3 kB / 433 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.3161, allocations: 493.9 kB / 433.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3161, allocations: 8.047 kB / 433.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3161, allocations: 3.984 kB / 433.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3161, allocations: 0 / 433.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.3168, allocations: 0.5545 MB / 434 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.733e-05/0.3168, allocations: 32 kB / 434.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.3171, allocations: 43.89 kB / 434.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.3172, allocations: 45.69 kB / 434.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.3173, allocations: 16 kB / 434.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.3196, allocations: 2.844 MB / 437 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3196, allocations: 8 kB / 437 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.3209, allocations: 0.6118 MB / 437.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.3212, allocations: 188.3 kB / 437.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.3212, allocations: 4 kB / 437.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.3215, allocations: 19.97 kB / 437.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.3216, allocations: 23.97 kB / 437.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.3216, allocations: 12 kB / 437.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007269/0.3223, allocations: 0.5467 MB / 438.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3223, allocations: 0 / 438.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007319/0.323, allocations: 243.5 kB / 438.7 MB, free: 6.469 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.0006281/0.3237, allocations: 359.8 kB / 439 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3248, allocations: 0.5696 MB / 439.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3248, allocations: 0 / 439.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.3255, allocations: 414.9 kB / 440 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.326, allocations: 108.6 kB / 440.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.3289, allocations: 1.57 MB / 441.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/0.3296, allocations: 0.96 MB / 442.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3297, allocations: 43.44 kB / 442.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3297, allocations: 7.938 kB / 442.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Templates: time 0.02338/0.3531, allocations: 17.61 MB / 460.3 MB, free: 0.668 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480]